Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Abstract Methods in Moose

by crashtest (Curate)
on Dec 11, 2009 at 18:57 UTC ( [id://812418]=perlquestion: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    package AbstractWidget;
    
    ...
    sub get_widget_type{
        confess(qq["get_widget_type" must be implemented by a subclass!]);
    }
    
  2. or download this
    has_abstract 'get_widget_type'
    
  3. or download this
    expects 'get_widget_type'
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlquestion [id://812418]
Approved by Corion
Front-paged by ikegami
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others about the Monastery: (5)
As of 2024-04-23 18:17 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found