Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Re: problem with Array of Arrays

by muba (Priest)
on Nov 10, 2015 at 14:46 UTC ( #1147362=note: print w/replies, xml ) Need Help??


in reply to problem with Array of Arrays

Just for TIMTOWTDI's sake, you could do without a for loop, although the dereferencing principle remains the same.

print join ", ", map {$_->[1]} @AoA;

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (4)
As of 2020-06-07 04:01 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Do you really want to know if there is extraterrestrial life?



    Results (42 votes). Check out past polls.

    Notices?