From: Dave Rolsky Date: Sat, 12 Sep 2009 14:48:57 +0000 (-0500) Subject: fix use lines to load roles, not old class names X-Git-Tag: 0.21~1 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=a4e5ec1e7c78b062e12aa4d240d44ce7cf83eb14;p=gitmo%2FMooseX-Singleton.git fix use lines to load roles, not old class names --- diff --git a/lib/MooseX/Singleton.pm b/lib/MooseX/Singleton.pm index 5eca8b9..83e955a 100644 --- a/lib/MooseX/Singleton.pm +++ b/lib/MooseX/Singleton.pm @@ -2,8 +2,9 @@ package MooseX::Singleton; use Moose 0.82 (); use Moose::Exporter; -use MooseX::Singleton::Object; -use MooseX::Singleton::Meta::Class; +use MooseX::Singleton::Role::Object; +use MooseX::Singleton::Role::Meta::Class; +use MooseX::Singleton::Role::Meta::Instance; our $VERSION = '0.20'; $VERSION = eval $VERSION; diff --git a/lib/MooseX/Singleton/Role/Meta/Class.pm b/lib/MooseX/Singleton/Role/Meta/Class.pm index a8a43ee..daaa5ba 100644 --- a/lib/MooseX/Singleton/Role/Meta/Class.pm +++ b/lib/MooseX/Singleton/Role/Meta/Class.pm @@ -1,8 +1,8 @@ #!/usr/bin/env perl package MooseX::Singleton::Role::Meta::Class; use Moose::Role; -use MooseX::Singleton::Meta::Instance; -use MooseX::Singleton::Meta::Method::Constructor; +use MooseX::Singleton::Role::Meta::Instance; +use MooseX::Singleton::Role::Meta::Method::Constructor; sub existing_singleton { my ($class) = @_;