Dash-Leak
view release on metacpan or search on metacpan
lib/Dash/Leak.pm view on Meta::CPAN
*DEBUG = sub () { 0 };
}
}
our $FIRST;
our %CBS;
sub import{
my $class = shift;
my $caller = caller;
my $cb = shift if @_;
check("use $class from @{[ (caller)[1,2] ]}",$cb ? $cb : ()) if DEBUG;
if (DEBUG and $cb) {
$FIRST ||= $cb;
$CBS{$caller} = $cb;
}
Devel::Declare->setup_for(
$caller,
{ $SUBNAME => { const => \&parse } }
);
{
no strict 'refs';
( run in 0.670 second using v1.01-cache-2.11-cpan-1e74a51a04c )