From: Tomas Doran Date: Thu, 16 Dec 2010 19:16:35 +0000 (+0000) Subject: Add autoclean X-Git-Tag: 0.03~5 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=bc5ab7852554a66516a02348a816795e6ad0953f;p=gitmo%2FMooseX-ConfigFromFile.git Add autoclean --- diff --git a/Makefile.PL b/Makefile.PL index e63c957..e56d167 100644 --- a/Makefile.PL +++ b/Makefile.PL @@ -10,10 +10,9 @@ test_requires 'Test::Fatal'; requires 'Moose' => '0.35'; requires 'MooseX::Types::Path::Class' => '0.04'; requires 'Try::Tiny'; +requires 'namespace::autoclean'; # Rebuild README for maintainers system("pod2text lib/MooseX/ConfigFromFile.pm >README") if $Module::Install::AUTHOR; -auto_provides; -auto_install; WriteAll; diff --git a/lib/MooseX/ConfigFromFile.pm b/lib/MooseX/ConfigFromFile.pm index b1e5cbb..4e8fb91 100644 --- a/lib/MooseX/ConfigFromFile.pm +++ b/lib/MooseX/ConfigFromFile.pm @@ -3,10 +3,10 @@ package MooseX::ConfigFromFile; use Moose::Role; use MooseX::Types::Path::Class qw( File ); use Try::Tiny qw/ try /; - -our $VERSION = '0.02'; - use Carp qw(croak); +use namespace::autoclean; + +our $VERSION = '0.02'; requires 'get_config_from_file';