Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Re^2: Abstract Methods in Moose

by crashtest (Curate)
on Dec 11, 2009 at 20:17 UTC ( #812426=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    package WidgetRole;
    use Moose::Role;
    ...
    with 'WidgetRole';
    
    sub get_widget_type{ "IAmAbstract" }
    
  2. or download this
    package WidgetRole;
    use Moose::Role;
    ...
    sub get_widget_type{ "BasicWidget" }
    
    # throws error and dies
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://812426]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (11)
As of 2014-12-26 16:30 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

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





    Results (172 votes), past polls