Perl: the Markov chain saw | |
PerlMonks |
comment on |
( [id://3333]=superdoc: print w/replies, xml ) | Need Help?? |
What about the 'idiom'
my $data = do{local(@ARGV,$/)='file.txt';<>}
In reply to Re: Perl Idioms Explained - my $string = do { local $/; <FILEHANDLE> };
by BUU
|
|