Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re^2: Solving compositional problems with Perl 6 roles

by Ovid (Cardinal)
on Aug 22, 2004 at 14:41 UTC ( #384926=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    class Elf is Character does Thief does Scout {
        method hide { .Scout::hide(@_) }
        ...
    }
    
  2. or download this
    method hide ($self: $action) {
        # $self is required here because the topicalizer assigns
        # $action to $_
    ...
            when Stalking { $self.Scount::hide($action) }
        }
    }
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://384926]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others meditating upon the Monastery: (2)
As of 2017-02-21 03:17 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Before electricity was invented, what was the Electric Eel called?






    Results (306 votes). Check out past polls.