Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
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??


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

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://763392]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others contemplating the Monastery: (5)
As of 2024-05-25 21:22 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found