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

Re: [MacPerl] Problem with record separator?



At 00.32 98.01.22, Wade Williams wrote:
>So, before opening the file, I do:
>
>$/="0x0A";
>
>And.....I get the whole file in one line again.

Try:

    print "0x0A";

And you might see your problem.  :-)

Try:

    $/ = "\x0A";

or:

    $/ = "\012";

--
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