On 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. To summarize, if the last char is a 0 on a line by itself (however we define a line) then $line = <F> will miss this single character, but otherwise behave normally. Correct? Just out of curiosity, is that a printable zero or a NULL (ASCII 00) we're talking about? Thanks to all who replied. RR PS: The LACK of a warning may have been a bug with an earlier version of MacPerl. The only thing I changed was going from 5.1.3r2 to 5.1.6r4. __________________________________________________________________________ Richard Rathe, MD mailto:rrathe@dean.med.ufl.edu University of Florida http://www.medinfo.ufl.edu/ ***** Want to unsubscribe from this list? ***** Send mail with body "unsubscribe" to mac-perl-request@iis.ee.ethz.ch