use Exporter directly, to avoid base as a prerq
[p5sagit/Sub-Name.git] / lib / Sub / Name.pm
index bfe3093..09e66d4 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
@@ -39,6 +41,8 @@ L<Sub::Identify> - for getting information about subs
 
 =head1 COPYRIGHT AND LICENSE
 
+=for stopwords cPanel
+
 This software is copyright (c) 2004, 2008 by Matthijs van Duin, all rights reserved;
 copyright (c) 2014 cPanel Inc., all rights reserved.
 
@@ -52,7 +56,7 @@ use 5.006;
 use strict;
 use warnings;
 
-use base 'Exporter';
+use Exporter 5.57 'import';
 
 our @EXPORT = qw(subname);
 our @EXPORT_OK = @EXPORT;