http://www.perlmonks.org?node_id=22771


in reply to RE: RE: Load file into a scalar without File::Slurp
in thread Load file into a scalar without File::Slurp

But now you've built an array just to discard it when you create the string. So, you win points for "easy to type", but lose points for "wasteful implementation".

-- Randal L. Schwartz, Perl hacker