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 13, 2001 at 01: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...