in reply to Re^2: getfile( $filename )
in thread getfile( $filename )
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.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: getfile( $filename )
by japhy (Canon) on Jul 29, 2005 at 12:31 UTC | |
by merlyn (Sage) on Jul 29, 2005 at 16:10 UTC | |
by harleypig (Monk) on Jul 29, 2005 at 18:03 UTC | |
by greenFox (Vicar) on Aug 03, 2005 at 07:55 UTC | |
|
Re^4: getfile( $filename )
by harleypig (Monk) on Jul 29, 2005 at 07:55 UTC |