Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re^3: MooseX::Declare and overload

by Haarg (Chaplain)
on Apr 01, 2010 at 17:21 UTC ( #832347=note: print w/ replies, xml ) Need Help??


in reply to Re^2: MooseX::Declare and overload
in thread MooseX::Declare and overload

namespace::autoclean, unlike namespace::clean, removes all imported functions regardless of if they were imported before or after it is used.

I don't really know why test 5 worked, but Test::More does have special handling for overloaded objects. I'm assuming it is some odd interaction in there.


Comment on Re^3: MooseX::Declare and overload
Re^4: MooseX::Declare and overload
by ikegami (Pope) on Apr 01, 2010 at 18:00 UTC
    oh! I thought "namespace::autoclean" was "namespace::clean"! Thanks, that makes a lot more sense.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (10)
As of 2014-12-18 06:32 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (43 votes), past polls