|
|
| Think about Loose Coupling | |
| PerlMonks |
Re: Re: Perl Idioms Explained - my $string = do { local $/; <FILEHANDLE> };by Zaxo (Archbishop) |
| on Sep 03, 2003 at 02:42 UTC ( #288490=note: print w/ replies, xml ) | Need Help?? |
|
The truly modern PerlIO approach would be,
open my $fh, '<:raw', '/path/to/somefile.txt' or die $!; After Compline,
In Section
Meditations
|
|
||||||||||||||||||||