use IO::File; my %handles = map { $_ => IO::File->new($_) } @filenames;
-- Randal L. Schwartz, Perl hacker
Be sure to read my standard disclaimer if this is a reply.
In reply to Re^5: closing multiple filehandles with one command
by merlyn
in thread closing multiple filehandles with one command
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |