increment $VERSION after release
[p5sagit/Sub-Name.git] / lib / Sub / Name.pm
index bfe3093..c8dfbe0 100644 (file)
@@ -15,6 +15,8 @@ package Sub::Name;
 
 This module has only one function, which is also exported by default:
 
+=for stopwords subname
+
 =head2 subname NAME, CODEREF
 
 Assigns a new name to referenced sub.  If package specification is omitted in
@@ -30,12 +32,11 @@ can be very useful for debugging.
 
 =head1 SEE ALSO
 
-=over 4
-
-=item *
-L<Sub::Identify> - for getting information about subs
+=for :list
+* L<Sub::Identify> - for getting information about subs
+* L<Sub::Util> - set_subname is another implementation of C<subname>
 
-=back
+=for stopwords cPanel
 
 =head1 COPYRIGHT AND LICENSE
 
@@ -52,7 +53,9 @@ use 5.006;
 use strict;
 use warnings;
 
-use base 'Exporter';
+our $VERSION = '0.14';
+
+use Exporter 5.57 'import';
 
 our @EXPORT = qw(subname);
 our @EXPORT_OK = @EXPORT;
@@ -60,9 +63,7 @@ our @EXPORT_OK = @EXPORT;
 use XSLoader;
 XSLoader::load(
     __PACKAGE__,
-    exists $Sub::Name::{VERSION}
-        ? ${ $Sub::Name::{VERSION} }
-        : (),
+    $VERSION,
 );
 
 1;