Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Re: Dereference anonymous AoA

by ikegami (Pope)
on Aug 08, 2014 at 21:28 UTC ( #1096811=note: print w/replies, xml ) Need Help??


in reply to Dereference anonymous AoA

my $table = [ [ 'kept', 82 ], [ 'notkept', 1 ], [ 'repaired', 3 ] ]; for my $i ( 0 .. $#{ $table } ) # Iterates over the indexes. { say "label ". $table->[$i][0]; }
or
for my $row ( @{ $table } ) # Iterates over the values. { say "label ". $row->[0]; }

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1096811]
help
Chatterbox?
[Discipulus]: ProvoLanX? grin..
[holli]: wow. the google translation to german is really good
LanX has to go go/
[holli]: baba

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (8)
As of 2017-11-20 19:59 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    In order to be able to say "I know Perl", you must have:













    Results (292 votes). Check out past polls.

    Notices?