Or, even better:
open(DATA, $files{$_}) or die $!;
Removed unnecessary typeglob symbol and added error message.
"The first rule of Perl club is you do not talk about Perl club." -- Chip Salzenberg
In reply to Re^3: Working with a unkown number of arrays
by davorg
in thread Working with a unkown number of arrays
by Win
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |