From: Tomas Doran Date: Thu, 30 Apr 2009 20:37:42 +0000 (+0000) Subject: If we're doing this, we're doing it with namespace clean X-Git-Tag: v0.21~4 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=catagits%2FCatalyst-Plugin-Session.git;a=commitdiff_plain;h=c0c50a2c30c01d1a7696a17298f23f2e12617cdd If we're doing this, we're doing it with namespace clean --- diff --git a/Makefile.PL b/Makefile.PL index d84829a..db642b4 100644 --- a/Makefile.PL +++ b/Makefile.PL @@ -13,6 +13,7 @@ name 'Catalyst-Plugin-Session'; all_from 'lib/Catalyst/Plugin/Session.pm'; requires 'Catalyst::Runtime' => '5.7010'; +requires 'namespace::clean' => '0.10'; requires 'Digest'; requires 'File::Spec'; requires 'File::Temp'; diff --git a/lib/Catalyst/Plugin/Session.pm b/lib/Catalyst/Plugin/Session.pm index 9cdf628..9fff66e 100644 --- a/lib/Catalyst/Plugin/Session.pm +++ b/lib/Catalyst/Plugin/Session.pm @@ -2,9 +2,6 @@ package Catalyst::Plugin::Session; -use strict; -use warnings; - use Moose; with 'MooseX::Emulate::Class::Accessor::Fast'; use MRO::Compat; @@ -14,6 +11,8 @@ use overload (); use Object::Signature (); use Carp; +use namespace::clean -except => 'meta'; + our $VERSION = '0.21'; my @session_data_accessors; # used in delete_session