Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
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 lurking in the Monastery: (10)
As of 2014-10-22 22:25 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    For retirement, I am banking on:










    Results (122 votes), past polls