package Sub::Name;
-# ABSTRACT: (re)name a sub
+# ABSTRACT: (Re)name a sub
+# KEYWORDS: subroutine function utility name rename symbol
=pod
=for :list
* L<Sub::Identify> - for getting information about subs
+* L<Sub::Util> - set_subname is another implementation of C<subname>
=for stopwords cPanel
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;