The problem is not the line breaks - you're not opening the file.
You may need to also set $/ = "\r" but that seems like an odd record separator to me.{ open my $fh, '<', $file or die $!; while (<$fh>) { print; } }
After Compline,
Zaxo
In reply to Re: finding different linebreaks with <>
by Zaxo
in thread finding different linebreaks with <>
by seaver
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |