|Perl Monk, Perl Meditation|
Re: Quick and portable way to determine line-ending string?by tachyon (Chancellor)
|on Aug 09, 2001 at 04:46 UTC||Need Help??|
This appears to work. We use the DATA filehandle so need no permission as Perl opens this for us.
Make sure there is a \n after the __DATA__
Does this port?
This also works as you would expect: