in reply to Arrays & Hashes
You can create hashes of arrayrefs easily:
my %hash = ( foo => [ 0,1,2 ], bar => [ 7,8,9 ] );
To access individual elements:
my $element = $hash{foo}[2];
For more, see perldsc.
|
---|
In Section
Seekers of Perl Wisdom