/usr/lib/perl5/Class/C3/XS.pm is in libclass-c3-xs-perl 0.13-1build2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 | package Class::C3::XS;
use 5.006_000;
use strict;
use warnings;
our $VERSION = '0.13';
=pod
=head1 NAME
Class::C3::XS - XS speedups for Class::C3
=head1 SUMMARY
use Class::C3; # Automatically loads Class::C3::XS
# if it's installed locally
=head1 DESCRIPTION
This contains XS performance enhancers for L<Class::C3> version
0.16 and higher. The main L<Class::C3> package will use this
package automatically if it can find it. Do not use this
package directly, use L<Class::C3> instead.
The test suite here is not complete, although it does verify
a few basic things. The best testing comes from running the
L<Class::C3> test suite *after* this module is installed.
This module won't do anything for you if you're running a
version of L<Class::C3> older than 0.16. (It's not a
dependency because it would be circular with the optional
dep from that package to this one).
=head1 AUTHOR
Brandon L. Black, E<lt>blblack@gmail.comE<gt>
=head1 LICENSE
This library is free software; you can redistribute it and/or modify
it under the same terms as Perl itself.
=cut
require XSLoader;
XSLoader::load('Class::C3::XS', $VERSION);
$VERSION = eval $VERSION;
package # hide me from PAUSE
next;
sub can { Class::C3::XS::_nextcan($_[0], 0) }
sub method {
my $method = Class::C3::XS::_nextcan($_[0], 1);
goto &$method;
}
package # hide me from PAUSE
maybe::next;
sub method {
my $method = Class::C3::XS::_nextcan($_[0], 0);
goto &$method if defined $method;
return;
}
1;
|