in reply to Arrays & Hashes
my %hash = ( foo => [ 0,1,2 ], bar => [ 7,8,9 ] ); [download]
To access individual elements:
my $element = $hash{foo}[2]; [download]
For more, see perldsc.