|
|
| "be consistent" | |
| PerlMonks |
Re: Is there a variable in which Perl stores the native file delimiter for the platform on which your script is running?by ysth (Canon) |
| on Dec 22, 2005 at 23:17 UTC ( [id://518694]=note: print w/replies, xml ) | Need Help?? |
This is an archived low-energy page for bots and other anonmyous visitors. Please sign up if you are a human and want to interact.
With a suitably capable version of perl, you could:
or, if they specify a terminator, use binmode and their selection, otherwise, don't use binmode and output "\n".
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||||||||