in reply to Re: Referring to an array without copying to a separate variable first
in thread Referring to an array without copying to a separate variable first
> Note that @{$res->{objects}} and @$res->{objects} are not the same.
... b/c of Perl's precedence rules:
@$res->{objects} means @{$res}->{objects} which doesn't make sense.
Cheers Rolf
( addicted to the Perl Programming Language)
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Referring to an array without copying to a separate variable first
by kcott (Archbishop) on Jun 27, 2013 at 09:33 UTC | |
by LanX (Saint) on Jun 27, 2013 at 10:04 UTC | |
by kcott (Archbishop) on Jun 30, 2013 at 05:07 UTC | |
|
Re^3: Referring to an array without copying to a separate variable first
by Anonymous Monk on Jun 27, 2013 at 00:06 UTC | |
by LanX (Saint) on Jun 27, 2013 at 00:14 UTC |