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

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.

Comment on Re: [Perl 6] Class Attributes
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 the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others exploiting the Monastery: (10)
As of 2015-12-01 09:30 GMT
Find Nodes?
    Voting Booth?

    What would be the most significant thing to happen if a rope (or wire) tied the Earth and the Moon together?

    Results (797 votes), past polls