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

Re: multi-dimensional arrays, dereferencing

by thinker (Parson)
on Aug 08, 2003 at 10:14 UTC ( [id://282150]=note: print w/replies, xml ) Need Help??


in reply to multi-dimensional arrays, dereferencing

Hi fabalicious

If @M is an array of array references, then

foreach $arrayref (@M) { foreach $element (@$arrayref) { print "$element "; } print "\n"; }

hope this helps

cheers

thinker

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others meditating upon the Monastery: (5)
As of 2024-03-19 08:18 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found