POE-Stage
view release on metacpan or search on metacpan
lib/POE/Stage.pm view on Meta::CPAN
# Track classes that use() POE::Stage, and methods with explicit
# :Handler magic (so we don't wrap them twice).
my %subclass;
sub import {
my $class = shift();
my $caller = caller();
strict->import();
warnings->import();
$subclass{$caller} = { } unless exists $subclass{$caller};
foreach my $export (@_) {
no strict 'refs';
if ($export eq ":base") {
unshift @{ $caller . "::ISA" }, $class;
next;
( run in 2.750 seconds using v1.01-cache-2.11-cpan-5837b0d9d2c )