in reply to hashes of arrays
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) } }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: hashes of arrays
by Tortue (Scribe) on Apr 03, 2001 at 23:37 UTC | |
|
Re: Re: hashes of arrays
by jeroenes (Priest) on Apr 04, 2001 at 00:10 UTC | |
by Xxaxx (Monk) on Apr 04, 2001 at 12:38 UTC | |
|
Re: Re: hashes of arrays
by mbond (Beadle) on Apr 03, 2001 at 23:27 UTC |