Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?

Re^7: Language features affect style

by John M. Dlugosz (Monsignor)
on Jun 15, 2009 at 14:21 UTC ( #771664=note: print w/replies, xml ) Need Help??

in reply to Re^6: Language features affect style
in thread Language features affect style

Ah, so $!x is only for attributes, and not for private methods, right?

Q. Does the former use the sigil of the has declaration like a variable, as opposed to the function call semantics of $(self!x) ?

So, the user can define a method !x directly, and the $!x notation doesn't call it, but bypasses it (talking MOP instead). A trusted user poking around in the privates must call it.

Am I back on track?

When I'm sure, I can clarify the synopses where it doesn't properly indicate that this is different.


Log In?

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

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (3)
As of 2023-06-02 12:32 GMT
Find Nodes?
    Voting Booth?

    No recent polls found