I'm not sure how that benchmarks, but I'm of the opinion that it looks much more elegant ;)my $contents = IO::File->new($filename)->getcontents();
_________
broquaint
In reply to Re: Cheap idioms
by broquaint
in thread Cheap idioms
by Juerd
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |