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

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 taking refuge in the Monastery: (12)
As of 2016-02-12 13:33 GMT
Find Nodes?
    Voting Booth?

    How many photographs, souvenirs, artworks, trophies or other decorative objects are displayed in your home?

    Results (397 votes), past polls