Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Re: Perl 5.12.2 Data Structures

by Anonymous Monk
on Sep 23, 2016 at 00:17 UTC ( [id://1172390]=note: print w/replies, xml ) Need Help??


in reply to Perl 5.12.2 Data Structures

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"; } }

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1172390]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others exploiting the Monastery: (4)
As of 2024-04-25 14:26 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found