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 the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others exploiting the Monastery: (10)
As of 2015-03-05 11:33 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    When putting a smiley right before a closing parenthesis, do you:









    Results (141 votes), past polls