my $newline = "\n"; $newline = "\r\n" if grep $_ eq "crlf", PerlIO::get_layers(*STDOUT);
- tye
In reply to Re^2: Is there a variable in which Perl stores the native file delimiter for the platform on which your script is running?
by tye
in thread Is there a variable in which Perl stores the native file delimiter for the platform on which your script is running?
by jira0004
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |