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
In Section
Seekers of Perl Wisdom