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.

Replies are listed 'Best First'.
Re^4: MooseX::Declare and overload
by ikegami (Patriarch) on Apr 01, 2010 at 18:00 UTC
    oh! I thought "namespace::autoclean" was "namespace::clean"! Thanks, that makes a lot more sense.