At 11.19 -0500 12.30.1998, Arved Sandstrom wrote: >As for the why, if you've opened a file with filehandle TXT, and do <TXT> >on it, it reads *one* line from that file. What Perl considers to be a >line, at that point, is dictated by the predefined variable $/, which is >newline (\n) by default. Using MacPerl, it's actually CR, or \r. That's confusing and somewhat misleading. In MacPerl, \n is what is normally known as CR. \r is then mapped to LF. For clarification: Unix perl MacPerl --------- ------- LF, \012, \cJ, \x0A, decimal 10 \n \r CR, \015, \cM, \x0D, decimal 13 \r \n -- Chris Nandor mailto:pudge@pobox.com http://pudge.net/ %PGPKey = ('B76E72AD', [1024, '0824090B CE73CA10 1FF77F13 8180B6B6']) ***** Want to unsubscribe from this list? ***** Send mail with body "unsubscribe" to mac-perl-request@iis.ee.ethz.ch