Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re^3: Moose "unions" and inheritance

by tobyink (Abbot)
on Nov 30, 2012 at 12:24 UTC ( #1006467=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    package Person {
      use Moose;
    ...
      name => ['James Bond', 'Burt Saxby', 'David Somerset'],
    );
    $bond->introduce_yourself;
    
  2. or download this
    package SecretAgent {
      use Moose;
    ...
        printf("The name's %s, %s\n", $surname, $name);
      }  
    }
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1006467]
help
Chatterbox?
[Eily]: Discipulus that's a chess joke BTW right? Because bishops don't walk straight :D
[choroba]: stop making chessy jokes about bishops!
[choroba]: I mean cheesy
[LanX]: lol
[ambrus]: no, the chess bishop itself is a joke on real bi-shops
[ambrus]: or at least on the stereotype of bi-shops
[choroba]: we call chess bishops "archers"
[Eily]: choroba sorry, I had to get that off my chess
[ambrus]: chess certainly hasn't started those stereotypes, like how kings aren't that powerful but has convinced their whole country to work for them, etc. it's just poured them to a nice clean form that would easily get propagated.

How do I use this? | Other CB clients
Other Users?
Others chanting in the Monastery: (13)
As of 2017-09-26 12:17 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    During the recent solar eclipse, I:









    Results (294 votes). Check out past polls.

    Notices?