But no matter what kind of casts and !@#$%^&* stuff I put in there (like $# @{ $thirdList{$area} }, I get a "$# is no longer supported" type of error
Sometimes, you need squigglies.
$#{$thirdList{$area}}Alternately,
while (my ($area, $list) = each %thirdList) { foreach my $item (@$list) { print join(' - ', @$item), "\n"; } }
In reply to Re: Perl 5.12.2 Data Structures
by Anonymous Monk
in thread Perl 5.12.2 Data Structures
by hennesse
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |