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
=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
use strict;
use warnings;
-use base 'Exporter';
+our $VERSION = '0.14';
+
+use Exporter 5.57 'import';
our @EXPORT = qw(subname);
our @EXPORT_OK = @EXPORT;
use XSLoader;
XSLoader::load(
__PACKAGE__,
- exists $Sub::Name::{VERSION}
- ? ${ $Sub::Name::{VERSION} }
- : (),
+ $VERSION,
);
1;