in reply to Re: closing multiple filehandles with one command
in thread closing multiple filehandles with one command

As addition, because I see many numbered filehandles in some coworkers code:

Or, if they're saved in a hash (which is imo the better way if you have no fixed or a large number of handles):
# untested $hash{ $_ }->close for keys %hash;

Ordinary morality is for ordinary people. -- Aleister Crowley

Replies are listed 'Best First'.
Re^3: closing multiple filehandles with one command
by merlyn (Sage) on Aug 09, 2005 at 16:08 UTC
      Definitly your point.

      Ordinary morality is for ordinary people. -- Aleister Crowley
    A reply falls below the community's threshold of quality. You may see it by logging in.