increment $VERSION after release
[p5sagit/Sub-Name.git] / lib / Sub / Name.pm
index 344e4f8..c8dfbe0 100644 (file)
@@ -53,6 +53,8 @@ use 5.006;
 use strict;
 use warnings;
 
+our $VERSION = '0.14';
+
 use Exporter 5.57 'import';
 
 our @EXPORT = qw(subname);
@@ -61,9 +63,7 @@ our @EXPORT_OK = @EXPORT;
 use XSLoader;
 XSLoader::load(
     __PACKAGE__,
-    exists $Sub::Name::{VERSION}
-        ? ${ $Sub::Name::{VERSION} }
-        : (),
+    $VERSION,
 );
 
 1;