
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.


Florian Ragwitz <rafl@debian.org>

Copyright (c) 2008 Florian Ragwitz
This module is free software. You can distribute it under the same terms as perl itself.