Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
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 chilling in the Monastery: (9)
As of 2016-06-27 13:39 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My preferred method of making French fries (chips) is in a ...











    Results (337 votes). Check out past polls.