See the discussion (including benchmarks) at Slurp a filesysread SITE, my $xml, -s SITE;
-Blake
In reply to Re: Reading entire file into scalar: speed differences?
by blakem
in thread Reading entire file into scalar: speed differences?
by theguvnor
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |