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

Here's a shorter version of that. I feel dirty:
{ local $/ = <STDIN>; }
Note to anyone who has to look at $/ to understand this -- do not use this code. It's a seriously ugly thing.