bump version
[gitmo/MooseX-Singleton.git] / lib / MooseX / Singleton / Role / Meta / Class.pm
index 6bca2ec..249cab6 100644 (file)
@@ -3,6 +3,9 @@ use Moose::Role;
 use MooseX::Singleton::Role::Meta::Instance;
 use MooseX::Singleton::Role::Meta::Method::Constructor;
 
+our $VERSION = '0.24';
+$VERSION = eval $VERSION;
+
 sub existing_singleton {
     my ($class) = @_;
     my $pkg = $class->name;
@@ -10,7 +13,7 @@ sub existing_singleton {
     no strict 'refs';
 
     # create exactly one instance
-    if (defined ${"$pkg\::singleton"}) {
+    if ( defined ${"$pkg\::singleton"} ) {
         return ${"$pkg\::singleton"};
     }