Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Re^2: Moose: Exporting non-moose subs to child

by elTriberium (Friar)
on Jul 21, 2011 at 16:04 UTC ( [id://915911]=note: print w/replies, xml ) Need Help??


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.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://915911]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others scrutinizing the Monastery: (3)
As of 2024-04-19 06:07 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found