From: Jonathan Rockway Date: Wed, 29 Apr 2009 14:43:22 +0000 (-0500) Subject: use autoclean X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=d60733e44154a2bb40df538371523f3b09002c72;p=gitmo%2FMooseX-Runnable.git use autoclean --- diff --git a/lib/MooseX/Runnable/Invocation.pm b/lib/MooseX/Runnable/Invocation.pm index c1a2a1a..1a7bdd7 100644 --- a/lib/MooseX/Runnable/Invocation.pm +++ b/lib/MooseX/Runnable/Invocation.pm @@ -2,6 +2,7 @@ package MooseX::Runnable::Invocation; use Moose; use MooseX::Types -declare => ['RunnableClass']; use MooseX::Types::Moose qw(Str ClassName); +use namespace::autoclean; require Class::MOP; @@ -12,7 +13,6 @@ subtype RunnableClass, as Str, where { $_ =~ /^[:A-Za-z_]+$/ }; -use namespace::clean -except => 'meta'; # this class is just as runnable as any other, so I guess we should tag it with 'MooseX::Runnable', 'MooseX::Object::Pluggable';