I wish there was a way to chomp <$FH>.How about:
A teeny bit inefficient, but probably insignificant for anything but hammered code.my @result = map /(.*)/, <$FH>;
-- Randal L. Schwartz, Perl hacker
Be sure to read my standard disclaimer if this is a reply.
In reply to Re^3: getfile( $filename )
by merlyn
in thread getfile( $filename )
by harleypig
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |