in reply to hash generation
You have shown us a line of code with 7 unknown entities and expect us to read your mind sufficiently to tell you how you want to change the line to do something else? Try starting with the code here:
use warnings; use strict; use Data::Dumper; my %hoh; push @{$hoh{'this'}->{'that'}->{'theOther'} }, ['eggs', 'bacon', 'chee +se']; print Dumper (\%hoh);
which prints:
$VAR1 = { 'this' => { 'that' => { 'theOther' => [ [ 'eggs', 'bacon', 'cheese' ] ] } } };
and telling us what you would rather see printed.
|
|---|