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.
In Section
Seekers of Perl Wisdom