in reply to push

I hope that makes things much clearer.

        - tye (but my friends call me "Tye")

Replies are listed 'Best First'.
Re: references quick reference (Re: push)
by a (Friar) on Apr 03, 2001 at 08:46 UTC
    And if I want to ref the entire hash/array (as in a foreach loop) what's the syntax?
    foreach my $array_elem ( @{ $href->{$key} } ) {
    works (I hope) but shouldn't there be a:
    foreach my $array_elem ( $href->{$key}->@ ) {
    sort of way to do this?

    a

      I like the option you describe and I recall patches to implement that making it to p5p but I'm not sure whether they got accepted nor which version of Perl they will appear in.

              - tye (but my friends call me "Tye")
Re: references quick reference (Re: push)
by malaga (Pilgrim) on Jan 31, 2001 at 00:17 UTC
    thanks. i think i better get some cafeine and do some studying.
      make that caffeine.