in reply to references quick reference (Re: push)
in thread push
And if I want to ref the entire hash/array (as in a foreach
loop) what's the syntax?
works (I hope) but shouldn't there be a:foreach my $array_elem ( @{ $href->{$key} } ) {
sort of way to do this?foreach my $array_elem ( $href->{$key}->@ ) {
a
|
---|
Replies are listed 'Best First'. | |
---|---|
(tye)Re: references quick reference (Re: push)
by tye (Sage) on Apr 05, 2001 at 00:52 UTC |
In Section
Seekers of Perl Wisdom