in reply to Re^2: Need help with Pipingin thread Need help with Piping
You can do all of that in one line...
my $var = do { local $/ ; <> }; [download]