in reply to Re^3: Another prediction of Perl's demise
in thread Another prediction of Perl's demise
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):
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^5: Another prediction of Perl's demise
by BrowserUk (Patriarch) on Nov 27, 2004 at 01:45 UTC | |
by Your Mother (Archbishop) on Nov 27, 2004 at 02:40 UTC |