in reply to Re^2: Need help with Piping
in thread Need help with Piping

You can do all of that in one line...

my $var = do { local $/ ; <> };

www.jasonkohles.com
We're not surrounded, we're in a target-rich environment!