Your transliteration operates on $_ which is uninitialised. You'd get a warning with "use warnings;". You want:
$line =~ tr/\r/\n/;
— Ken
In reply to Re^2: Reading lines beginning with pound # ignored
by kcott
in thread Reading lines beginning with pound # ignored
by slugger415
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |