use IO::All; $content = io('file.txt')->slurp; # or io('file.txt') > $content; # or use File::Slurp; $content = read_file( 'filename' ); # or any number of include methods in Mason/Template/Embperl...
The things that IO::All makes absurdly easy include (and aren't limited to):
In reply to Re^4: Another prediction of Perl's demise
by Your Mother
in thread Another prediction of Perl's demise
by bradcathey
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |