[Date Prev][Date Next][Thread Prev][Thread Next] [Search] [Date Index] [Thread Index]

Re: [MacPerl] File Handle Error in New MacPerl



At 18.49 1/1/98, Brian L. Matthews wrote:
>Chris Nandor writes:
>|However, I do not think it is possible that this could happen as long as
>|your input record separator ($/) is not changed (because a newline will
>|always be in $line).
>
>Unless the last line in the file doesn't end in a newline. If the last
>two characters in the file are "\n0", while ($line = <IMAGES>) will skip
>the zero.

Yes, right.

--
Chris Nandor               pudge@pobox.com           http://pudge.net/
%PGPKey=('B76E72AD',[1024,'0824 090B CE73 CA10  1FF7 7F13 8180 B6B6'])
#==                    MacPerl: Power and Ease                     ==#
#==    Publishing Date: Early 1998. http://www.ptf.com/macperl/    ==#



***** Want to unsubscribe from this list?
***** Send mail with body "unsubscribe" to mac-perl-request@iis.ee.ethz.ch