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

    Sad, but I just gotta...

    Who is Your Mother? :)


    Examine what is said, not who speaks.
    "But you should never overestimate the ingenuity of the sceptics to come up with a counter-argument." -Myles Allen
    "Think for yourself!" - Abigail        "Time is a poor substitute for thought"--theorbtwo         "Efficiency is intelligent laziness." -David Dunham
    "Memory, processor, disk in that order on the hardware side. Algorithm, algorithm, algorithm on the code side." - tachyon

      No one of consequence.