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

Re: [Perl 6] Class Attributes

by ruoso (Curate)
on Aug 12, 2008 at 14:01 UTC ( #703892=note: print w/ replies, xml ) Need Help??

in reply to [Perl 6] Class Attributes

There's no "inherited attributes" in Perl 6. What you have is inherited accessors.

our $.attrib is actually the same as...

our $!attrib; # but it keeps the original name stored for introspecti +on... method attrib { $!attrib }

Comment on Re: [Perl 6] Class Attributes
Download Code
Replies are listed 'Best First'.
Re^2: [Perl 6] Class Attributes
by John M. Dlugosz (Monsignor) on Aug 13, 2008 at 01:40 UTC
    I know. So, what does "inherited" mean if there are no accessors? That's what S12 says.
      Can you please cut/paste the relevant text.
        Never mind, anonymous, $Larry fixed it.

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others meditating upon the Monastery: (11)
As of 2015-11-30 13:14 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 (770 votes), past polls