Problems? Is your data what you think it is? | |
PerlMonks |
Re^2: $obj->method v.s. $obj->method()by lodin (Hermit) |
on May 12, 2009 at 00:35 UTC ( [id://763392]=note: print w/replies, xml ) | Need Help?? |
The statement &foo; calls foo using a mirror image of @_ /.../ neither call /.../ modifies @_ as passed to frobnicate By "mirror image" you mean the same, right? Just to be clear, the call &foo; may actually modify frobnicate's @_. See Re^2: Using & in function calls (&foo != foo(@_)) for an example. lodin
In Section
Seekers of Perl Wisdom
|
|