Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
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 chilling in the Monastery: (3)
As of 2025-06-13 00:33 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?
    erzuuliAnonymous Monks are no longer allowed to use Super Search, due to an excessive use of this resource by robots.