in reply to Re^4: Help needed please: Data Manipulation in 2D Array
in thread Help needed please: Data Manipulation in 2D Array
I was not aware of the multiple value per hash key.
Technically, there's only one: A reference to an array. Just like for AoAs. References are scalars, so they can be stored in arrays and hashes.
It will not always have the same number of elements
Which one is the cat?
I'm not sure how to use your method to output my final data to a file
It already does. The output is written to the $fh_out. I skipped over opening the file handle, but there's nothing special to it:
my $file_out = 'data.out'; open(my $fh_out, '>', $file_out) or die("Unable to create output file $file_out: $!\n");
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^6: Help needed please: Data Manipulation in 2D Array
by Syntenty (Initiate) on May 05, 2008 at 08:04 UTC | |
by ikegami (Patriarch) on May 05, 2008 at 08:08 UTC | |
by Syntenty (Initiate) on May 05, 2008 at 09:30 UTC |