There's also the --output-line-ending flag to perltidy. (See Perltidy).
$ perltidy -ole=unix foo.pl
In reply to Re^10: One-liner only checking the first line of the input file
by 1nickt
in thread One-liner only checking the first line of the input file
by TJCooper
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |