Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Re: [Perl 6] Class Attributes

by ruoso (Curate)
on Aug 12, 2008 at 14:01 UTC ( [id://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

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?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others scrutinizing the Monastery: (3)
As of 2024-04-24 22:54 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found