Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
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?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (7)
As of 2014-12-25 10:45 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (160 votes), past polls