From: Justin Hunter Date: Fri, 28 Aug 2009 22:49:05 +0000 (-0700) Subject: add namespace::autoclean X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=fcac021f3f42c376198dcadb2eb7af46c89e0976;p=gitmo%2FMooseX-AutoDoc.git add namespace::autoclean --- diff --git a/Makefile.PL b/Makefile.PL index 3258b43..9592378 100644 --- a/Makefile.PL +++ b/Makefile.PL @@ -9,8 +9,9 @@ abstract 'Automatically generate documentation stubs for Moose-based classes.'; all_from 'lib/MooseX/AutoDoc.pm'; # Specific dependencies -requires 'Moose' => '0.89'; -requires 'Template'; #version TBD +requires 'Moose', '0.89'; +requires 'namespace::autoclean', '0.08'; +requires 'Template'; build_requires 'Test::More' => 0; diff --git a/lib/MooseX/AutoDoc.pm b/lib/MooseX/AutoDoc.pm index 54b78c6..bc9beca 100644 --- a/lib/MooseX/AutoDoc.pm +++ b/lib/MooseX/AutoDoc.pm @@ -6,6 +6,7 @@ use Class::MOP; use Moose::Meta::Role; use Moose::Meta::Class; use Scalar::Util qw/blessed/; +use namespace::autoclean; # Create a special TypeConstraint for the View so you can just set it # with a class name and it'll DWIM