in reply to Automated Slurp

cpan File::Slurp
would have been less typing. File::Slurp

( oops! someone posted a similar reply since I opened to the OP )

Replies are listed 'Best First'.
Re^2: Automated Slurp
by mrdvt92 (Acolyte) on Feb 05, 2010 at 04:13 UTC
    I prefer
    use Path::Class qw{file}; my $data=file($filename)->slurp;