in reply to Re: Unexpected behavior with open
in thread Unexpected behavior with open

FWIW I only rarely close my filehandles. Instead I scope them and let Perl take care of the cleanup.

This does depend on reliable destruction semantics though, and in Perl 6 I may be forced to do that work for Perl. :-(

  • Comment on Re (tilly) 2: Unexpected behavior with open