while (<$FileHandles{$Dir}{$FileName}>) doesn't work. You must use a simple variable. The fix is:
... my $fh = $FileHandles{$Dir}{$FileName}; while (<$fh>) { print $_; }
In reply to Re: Problem with using file handle in hash
by GrandFather
in thread Problem with using file handle in hash
by sophate
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |