If I do this:

open $FH, '<', $THE_FILE or die "$0: open problem";
my @ids = map substr($_, 0, 5), <$FH>;

Does that file handle get closed after the slurp?

Robert

--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/


Reply via email to