http://www.perlmonks.org?node_id=18262


in reply to RE: Can't open file within subroutine
in thread Can't open file within subroutine

Any particular reason for local()-izing the directory handle? And the filehandle needs to be localized within the foreach.
  • Comment on RE: RE: Can't open file within subroutine