in reply to Re: $obj->method v.s. $obj->method()
in thread $obj->method v.s. $obj->method()
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