my $contents = do { local(*ARGV, $/); @ARGV = "filename"; <> };
-- Randal L. Schwartz, Perl hacker
Be sure to read my standard disclaimer if this is a reply.
In reply to Re: getfile( $filename )
by merlyn
in thread getfile( $filename )
by harleypig
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |