Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Re^2: Solving compositional problems with Perl 6 roles

by Ovid (Cardinal)
on Aug 22, 2004 at 14:41 UTC ( [id://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
Domain Nodelet?
Node Status?
node history
Node Type: note [id://384926]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others having an uproarious good time at the Monastery: (3)
As of 2024-04-20 01:49 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found