From: Dave Rolsky Date: Fri, 25 Dec 2009 15:39:46 +0000 (-0600) Subject: s/no Moose/no Moose::Role/g X-Git-Tag: 0.22~13 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=2cb90d536c9fe23d25b545966ce509e7da73fa68;p=gitmo%2FMooseX-Singleton.git s/no Moose/no Moose::Role/g --- diff --git a/lib/MooseX/Singleton/Role/Meta/Class.pm b/lib/MooseX/Singleton/Role/Meta/Class.pm index 6800fa7..6bca2ec 100644 --- a/lib/MooseX/Singleton/Role/Meta/Class.pm +++ b/lib/MooseX/Singleton/Role/Meta/Class.pm @@ -36,7 +36,7 @@ override _construct_instance => sub { return ${"$pkg\::singleton"} = super; }; -no Moose; +no Moose::Role; 1; diff --git a/lib/MooseX/Singleton/Role/Meta/Instance.pm b/lib/MooseX/Singleton/Role/Meta/Instance.pm index f58f4cc..770de0e 100644 --- a/lib/MooseX/Singleton/Role/Meta/Instance.pm +++ b/lib/MooseX/Singleton/Role/Meta/Instance.pm @@ -53,7 +53,7 @@ override inline_slot_access => sub { sprintf "%s->meta->instance_metaclass->get_singleton_instance(%s)->{%s}", $instance, $instance, $slot_name; }; -no Moose; +no Moose::Role; 1; diff --git a/lib/MooseX/Singleton/Role/Meta/Method/Constructor.pm b/lib/MooseX/Singleton/Role/Meta/Method/Constructor.pm index 414b28a..111fbc3 100644 --- a/lib/MooseX/Singleton/Role/Meta/Method/Constructor.pm +++ b/lib/MooseX/Singleton/Role/Meta/Method/Constructor.pm @@ -79,7 +79,7 @@ override _expected_method_class => sub { return $super_value; }; -no Moose; +no Moose::Role; 1; diff --git a/lib/MooseX/Singleton/Role/Object.pm b/lib/MooseX/Singleton/Role/Object.pm index c644a21..ae3e278 100644 --- a/lib/MooseX/Singleton/Role/Object.pm +++ b/lib/MooseX/Singleton/Role/Object.pm @@ -30,7 +30,7 @@ sub _clear_instance { $class->meta->clear_singleton; } -no Moose; +no Moose::Role; 1;