Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Re: Foreach in a 2D array

by tachyon (Chancellor)
on Oct 28, 2004 at 10:01 UTC ( [id://403336]=note: print w/replies, xml ) Need Help??


in reply to Foreach in a 2D array

You are close:

foreach $option ($dataoptions{$columns[$i]}) { print "We can deref all like this : @$option\n"; printf "Deref array elem->0 : %s and elem->1 : %s\n", $option->[0] +, $option->[1]; }

cheers

tachyon

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others learning in the Monastery: (3)
As of 2024-04-19 17:11 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found