in reply to Re^2: closing multiple filehandles with one command
in thread closing multiple filehandles with one command
Or simpler to ask Perl for what you really want:$hash{ $_ }->close for keys %hash;
$_->close for values %hash;
-- Randal L. Schwartz, Perl hacker
Be sure to read my standard disclaimer if this is a reply.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: closing multiple filehandles with one command
by phaylon (Curate) on Aug 09, 2005 at 16:12 UTC | |
| A reply falls below the community's threshold of quality. You may see it by logging in. |