-----Original Message----- >From: Robert Hicks <[EMAIL PROTECTED]> >Sent: May 10, 2007 9:13 PM >To: beginners@perl.org >Subject: slurping a file > >If I do this: > >open $FH, '<', $THE_FILE or die "$0: open problem"; >my @ids = map substr($_, 0, 5), <$FH>; >
It doesn't unless you close it by hand or it go out of scope. -- mailto:[EMAIL PROTECTED] http://home.arcor.de/jeffpang/ -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://learn.perl.org/