Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much

Re: [Perl 6] Class Attributes

by Anonymous Monk
on Aug 12, 2008 at 12:03 UTC ( #703879=note: print w/replies, xml ) Need Help??

in reply to [Perl 6] Class Attributes

Are the access methods generated on the Class object or on this object?
What difference does it make? I ask because S12 says Attributes are stored in an opaque datatype, not in a hash. Not even the class has to care how they're stored, since they're declared much like ordinary variables.

Replies are listed 'Best First'.
Re^2: [Perl 6] Class Attributes
by John M. Dlugosz (Monsignor) on Aug 13, 2008 at 01:38 UTC
    What difference does it make? Whether you call it with $obj.a or $obj.^a.

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://703879]
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others scrutinizing the Monastery: (8)
As of 2018-03-23 23:21 GMT
Find Nodes?
    Voting Booth?
    When I think of a mole I think of:

    Results (297 votes). Check out past polls.