|
|
|
good chemistry is complicated, and a little bit messy -LW |
|
| PerlMonks |
Re: Re: Re: Re: Perl Idioms Explained - my $string = do { local $/; <FILEHANDLE> };by benn (Priest) |
| on Aug 30, 2003 at 10:34 UTC ( #287896=note: print w/ replies, xml ) | Need Help?? |
|
Disclaimer: I've never used File::Slurp. I'm assuming that it doesn't suck. :-) I have - it doesn't :). It also includes "write_file()", "append_file()" and "read_dir()", making it often one of the first modules I use when starting with a 'blank canvas'. Cheers, Ben.
In Section
Meditations
|
|
||||||||||||||||||||