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.

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 taking refuge in the Monastery: (6)
As of 2016-10-25 10:30 GMT
Find Nodes?
    Voting Booth?
    How many different varieties (color, size, etc) of socks do you have in your sock drawer?

    Results (316 votes). Check out past polls.