robn / p5-etcd

Perl client library for etcd
3 stars 3 forks source link

should be using namespace::autoclean #5

Closed karenetheridge closed 9 years ago

karenetheridge commented 9 years ago

namespace::sweep is now obsolete and namespace::autoclean handles more cases, more properly. Anything using Moose, Moo or Mouse should absolutely be using namespace::autoclean; for a few situations (e.g. exporter classes) namespace::clean might be preferable, but a ticket reporting the issue would still be very much welcomed.

(0.16 is the version that dropped the loading of Class::MOP to introspect Moo classes.)

see https://rt.cpan.org/Ticket/Display.html?id=101222

robn commented 9 years ago

@karenetheridge Thanks for the head-up! Now I have a bunch of internal modules to switch over too :)