From: Dave Rolsky Date: Mon, 10 Nov 2008 23:45:00 +0000 (+0000) Subject: use modules in the place where they're really used X-Git-Tag: 0.08~7 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=df4f57e00d7883a8a2292f81e598179d9c08a581;p=gitmo%2FMooseX-ClassAttribute.git use modules in the place where they're really used --- diff --git a/lib/MooseX/ClassAttribute.pm b/lib/MooseX/ClassAttribute.pm index 4ebb219..c45dac0 100644 --- a/lib/MooseX/ClassAttribute.pm +++ b/lib/MooseX/ClassAttribute.pm @@ -9,7 +9,6 @@ our $AUTHORITY = 'cpan:DROLSKY'; use Moose (); use Moose::Exporter; use MooseX::ClassAttribute::Role::Meta::Class; -use MooseX::ClassAttribute::Role::Meta::Attribute; Moose::Exporter->setup_import_methods ( with_caller => [ 'class_has' ] ); diff --git a/lib/MooseX/ClassAttribute/Role/Meta/Class.pm b/lib/MooseX/ClassAttribute/Role/Meta/Class.pm index 937e310..64545ab 100644 --- a/lib/MooseX/ClassAttribute/Role/Meta/Class.pm +++ b/lib/MooseX/ClassAttribute/Role/Meta/Class.pm @@ -4,6 +4,7 @@ use strict; use warnings; use MooseX::AttributeHelpers; +use MooseX::ClassAttribute::Role::Meta::Attribute; use Scalar::Util qw( blessed ); use Moose::Role;