...or use File::Edit::Portable which does the translations automatically for you, cross-platform, so you don't have to figure out which ending to use yourself ;)
use File::Edit::Portable; my $rw = File::Edit::Portable->new; my $fh = $rw->read('file.txt');
Disclaimer: author of said module here
In reply to Re^4: Crypt() usage
by stevieb
in thread Crypt() usage
by fionbarr
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |