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 ( #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
Node Status?
node history
Node Type: note [id://282150]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (10)
As of 2016-06-27 15:14 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My preferred method of making French fries (chips) is in a ...











    Results (338 votes). Check out past polls.