that sets line separator to undef, and slurps in whole file instead of one line.{ local $/; foreach (@file) { open(FILE,"$_"); $hash{$_}{file_contents} = <FILE>; close(FILE) } }
In reply to Re: hashes of arrays
by suaveant
in thread hashes of arrays
by mbond
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |