in reply to Re^2: Perl ignores CarriageReturn during fileparsing. Why?
in thread Perl ignores CarriageReturn during fileparsing. Why?
# code "borrowed" from node 1952 :-) { local $/ = undef; open FILE, "myfile" or die "Couldn't open file: $!"; $string = <FILE>; close FILE; } # $/ reverts back to default here...
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: Perl ignores CarriageReturn during fileparsing. Why?
by hoppfrosch (Scribe) on Jun 13, 2013 at 13:52 UTC |