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

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 }
daniel


Comment on Re: [Perl 6] Class Attributes
Download Code
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?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (11)
As of 2014-10-31 10:06 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    For retirement, I am banking on:










    Results (216 votes), past polls