/usr/lib/perl5/B/Compiling.pm is in libb-compiling-perl 0.04-1.
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 72 73 | use strict;
use warnings;
package B::Compiling;
BEGIN {
$B::Compiling::AUTHORITY = 'cpan:FLORA';
}
{
$B::Compiling::VERSION = '0.04';
}
# ABSTRACT: Expose PL_compiling to perl
use B;
use XSLoader;
XSLoader::load(
__PACKAGE__,
exists $B::Compiling::{VERSION} ? ${ $B::Compiling::{VERSION} } : (),
);
use Sub::Exporter -setup => {
exports => ['PL_compiling'],
groups => { default => ['PL_compiling'] },
};
1;
__END__
=pod
=encoding utf-8
=head1 NAME
B::Compiling - Expose PL_compiling to perl
=head1 SYNOPSIS
use B::Compiling;
BEGIN {
warn "currently compiling ", PL_compiling->file;
}
=head1 DESCRIPTION
This module exposes the perl interpreter's PL_compiling variable to perl.
=head1 FUNCTIONS
=head2 PL_compiling
This function returns a C<B::COP> object representing PL_compiling. It's
exported by default. See L<B> for documentation on how to use the returned
C<B::COP>.
=head1 SEE ALSO
L<B>
=head1 AUTHOR
Florian Ragwitz <rafl@debian.org>
=head1 COPYRIGHT AND LICENSE
This software is copyright (c) 2013 by Florian Ragwitz.
This is free software; you can redistribute it and/or modify it under
the same terms as the Perl 5 programming language system itself.
=cut
|