Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Re^7: Language features affect style

by John M. Dlugosz (Monsignor)
on Jun 15, 2009 at 14:21 UTC ( [id://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.

—John

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others wandering the Monastery: (3)
As of 2024-12-12 17:36 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Which IDE have you been most impressed by?













    Results (65 votes). Check out past polls.