Beefy Boxes and Bandwidth Generously Provided by pair Networks Joe
go ahead... be a heretic
 
PerlMonks  

Re: Re: Fail to see referencing problem to arrays (in an array of arrays)

by Elias (Pilgrim)
on Apr 25, 2001 at 10:56 UTC ( [id://75412]=note: print w/replies, xml ) Need Help??

This is an archived low-energy page for bots and other anonmyous visitors. Please sign up if you are a human and want to interact.


in reply to Re: Fail to see referencing problem to arrays (in an array of arrays)
in thread Fail to see referencing problem to arrays (in an array of arrays)

Thanks for the explanation and suggestions. As it turns out the root of my confusion lay in accessing the resulting array. Just for completeness sake: I needed to check the existence of a reference using defined before printing.

for my $tree (0..17) { for my $stem(0..10) { for my $height (0..2) { my $line=$mdarray[$tree][$stem][$heigh +t]; if (defined @$line) {print "$tree,$ste +m,$height : @$line \n" } } } }

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://75412]
help
Sections?
Information?
Find Nodes?
Leftovers?
    Notices?
    hippoepoptai's answer Re: how do I set a cookie and redirect was blessed by hippo!
    erzuuliAnonymous Monks are no longer allowed to use Super Search, due to an excessive use of this resource by robots.