-f "file.txt" or die "File not found!\n"; $string=`cat file.txt`;
In reply to Re: Perl Idioms Explained - my $string = do { local $/; <FILEHANDLE> };
by Anonymous Monk
in thread Perl Idioms Explained - my $string = do { local $/; <FILEHANDLE> };
by jeffa
For: | Use: | ||
& | & | ||
< | < | ||
> | > | ||
[ | [ | ||
] | ] |