See. perlreftut and perlref for more info.my %mdhash = ( foo => [ qw( ichi ni ) ], bar => [ qw( san shi ) ], ); print $mdhash{foo}->[0], $mdhash{foo}[1], $/, @{$mdhash{bar}}[0], pop @{ $mdhash{bar} }, $/; __output__ ichini sanshi
_________
broquaint
In reply to Re: multi-dimensional hashes
by broquaint
in thread multi-dimensional hashes
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |