Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Re: Way to use Moo::Role to extend non-Moo class?

by tobyink (Abbot)
on Nov 13, 2013 at 12:04 UTC ( #1062378=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    package Foo {
      sub new {
    ...
      use Moo;  # NOT Moo::Role
      extends "Foo";
    }
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1062378]
help
Chatterbox?
and snow settles gently...

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (4)
As of 2017-11-18 16:44 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    In order to be able to say "I know Perl", you must have:













    Results (277 votes). Check out past polls.

    Notices?