![]() |
|
Clear questions and runnable code get the best and fastest answer |
|
PerlMonks |
Moose: Exporting non-moose subs to childby elTriberium (Friar) |
on Jul 21, 2011 at 07:05 UTC ( #915804=perlquestion: print w/replies, xml ) | Need Help?? |
elTriberium has asked for the wisdom of the Perl Monks concerning the following question:
Hi Monks!
I have the following problem that I can't get to work right now: In my parent Moose class I have the following code: The child has:
However, this doesn't work because the subs of Test::Most are not in the namespace of the child:
So my question is: Is there a recommended way to export subs of non-Moose classes in Moose? Thanks!
Back to
Seekers of Perl Wisdom
|
|