http://qs1969.pair.com?node_id=915911


in reply to Re: Moose: Exporting non-moose subs to child
in thread Moose: Exporting non-moose subs to child

I was actually trying to put the use statement into the parent class to get rid of this ugly line in the child:
use Test::Most '!blessed';

The !blessed part is required because Moose and Test::Most don't play together well. So now I want to put this in the parent as there will be hundreds of children of this parent and I don't want to repeat this line over and over again.

If, however, this doesn't work, then I'll just have to live with it.

Replies are listed 'Best First'.
Re^3: Moose: Exporting non-moose subs to child
by moritz (Cardinal) on Jul 21, 2011 at 18:28 UTC
      Those will actually be the test cases. And we have thousands of test cases.