Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Moose: Exporting non-moose subs to child

by elTriberium (Friar)
on Jul 21, 2011 at 07:05 UTC ( [id://915804]=perlquestion: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    package Parent;
    use Moose;
    ...
            plan tests => $args->{'tests'};
        }
    }
    
  2. or download this
    package Child;
    use Moose;
    ...
    
    __PACKAGE__->new(tests => 1)->run;
    
  3. or download this
     Undefined subroutine &Child::ok called at oo_test.pl line 8.
    

Log In?
Username:
Password:

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

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

    No recent polls found