in reply to Moose: Exporting non-moose subs to child
use Test::Most;
in Child.
Just because Moose provides another object model doesn't mean you have to throw away all your other Perl knowledge when you use it :-).
(The the usual approach is to put the tests into a separate file, not into the class directly).
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Moose: Exporting non-moose subs to child
by elTriberium (Friar) on Jul 21, 2011 at 16:04 UTC | |
by moritz (Cardinal) on Jul 21, 2011 at 18:28 UTC | |
by elTriberium (Friar) on Jul 21, 2011 at 18:45 UTC |