# 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...
In reply to Re^3: Perl ignores CarriageReturn during fileparsing. Why?
by space_monk
in thread Perl ignores CarriageReturn during fileparsing. Why?
by hoppfrosch
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |