DOKK / manpages / debian 12 / libb-compiling-perl / B::Compiling.3pm.en
B::Compiling(3pm) User Contributed Perl Documentation B::Compiling(3pm)

B::Compiling - Expose PL_compiling to perl

    use B::Compiling;
    BEGIN {
        warn "currently compiling ", PL_compiling->file;
    }

This module exposes the perl interpreter's PL_compiling variable to perl.

This function returns a "B::COP" object representing PL_compiling. It's exported by default. See B for documentation on how to use the returned "B::COP".

B

Florian Ragwitz <rafl@debian.org>

This software is copyright (c) 2015 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.

2022-10-20 perl v5.36.0