note that $hash{$_}{file_contents} contains a _reference_ to an array, not an array.foreach (@file) { open(FILE,"$_"); @{$hash{$_}{file_contents}} = <FILE>; close(FILE) }
In reply to Re: hashes of arrays
by ton
in thread hashes of arrays
by mbond
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |