I piping the output of several scripts. One of these scripts outputs an entire HTML page that gets processed by my perl script. I want to be able to pull the whole 58K of text
I've always used a bare block.
my $x; { undef $/; # Set slurp mode $x = <>; # Read in everything up to EOF } # $x should now contain all of STDIN