in reply to finding different linebreaks with <>

The problem is not the line breaks - you're not opening the file.

{ open my $fh, '<', $file or die $!; while (<$fh>) { print; } }
You may need to also set $/ = "\r" but that seems like an odd record separator to me.

After Compline,
Zaxo

Replies are listed 'Best First'.
Re: Re: finding different linebreaks with <>
by hardburn (Abbot) on Apr 08, 2004 at 18:58 UTC

    You may need to also set $/ = "\r" but that seems like an odd record separator to me.

    Don't let Steve Jobs hear you.

    ----
    : () { :|:& };:

    Note: All code is untested, unless otherwise stated