package Sub::Name;
-# ABSTRACT: (re)name a sub
+# ABSTRACT: (Re)name a sub
+# KEYWORDS: subroutine function utility name rename symbol
=pod
=head1 SEE ALSO
-=over 4
+=for :list
+* L<Sub::Identify> - for getting information about subs
+* L<Sub::Util> - set_subname is another implementation of C<subname>
-=item *
-L<Sub::Identify> - for getting information about subs
-
-=back
+=for stopwords cPanel
=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.
use strict;
use warnings;
+our $VERSION = '0.21';
+
use Exporter 5.57 'import';
our @EXPORT = qw(subname);
use XSLoader;
XSLoader::load(
__PACKAGE__,
- exists $Sub::Name::{VERSION}
- ? ${ $Sub::Name::{VERSION} }
- : (),
+ $VERSION,
);
1;