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 perusing the Monastery: (6)
As of 2014-10-26 08:46 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    For retirement, I am banking on:










    Results (152 votes), past polls