Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
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 the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (5)
As of 2016-04-29 23:05 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    :nehw tseb si esrever ni gnitirW







    Results (441 votes). Check out past polls.