When Perl writes to Windows, a \n is CRLF. When Perl writes to a network socket, a \n is CRLF.
No. See http://search.cpan.org/~jesse/perl-5.14.1/pod/perlport.pod#Newlines, binmode
In reply to Re^2: Have trouble implementing a shell-alike script
by Anonymous Monk
in thread Have trouble implementing a shell-alike script
by PerlOnTheWay
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |