in reply to Re: Re: Re: Re: Can anyone figure how this works?
in thread Can anyone figure how this works?
Not sure that is actually right. Normally perl will handle line ending conversions automatically for you if you just leave binmode alone.
Internally (in a perl program) you use \n as your symbol for a line ending and let perl handle the details - when you write a file the correct system line ending will be written and when you read a file the line endings will be converted to the internal \n. Sometimes the wheels fall off and you need to fix things manually but usually it all works beautifully.
cheers
tachyon
s&&rsenoyhcatreve&&&s&n.+t&"$'$`$\"$\&"&ee&&y&srve&&d&&print
|
|---|