Beefy Boxes and Bandwidth Generously Provided by pair Networks Frank
Do you know where your variables are?
 
PerlMonks  

Re: Re: Values not printing.

by qball (Beadle)
on Apr 12, 2001 at 20:53 UTC ( [id://72184]=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: Values not printing.
in thread Values not printing.

ton, that worked perfectly. Thank you.

How would I access the elements of each array for each key?

qball~"I have node idea?!"

Replies are listed 'Best First'.
Re: Re: Re: Values not printing.
by ton (Friar) on Apr 12, 2001 at 21:11 UTC
    You already are:
    foreach my $alias (keys %hash3) { print "The members of $alias are\n"; foreach (@{$hash3{$alias}}) { print "\t$_\n"; } }
    If you didn't want to use foreach's aliasing, you would do something like:
    print $hash3{$hashKey}->[$arrayIndex];
    -Ton
    -----
    Be bloody, bold, and resolute; laugh to scorn
    The power of man...

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://72184]
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.