App-Tool-Base

 view release on metacpan or  search on metacpan

lib/App/Tool/Base.pm  view on Meta::CPAN

    my $actions = _get_action_names($opt{full});
    say join qq{\n}, @$actions;
    return;
}



sub import
{
    my $class = shift;
    my $inheritor = caller(0);
    my ($run) = @_;

    {
        no strict 'refs';
        push @{"$inheritor\::ISA"}, $class;
        *{"$inheritor\::$run"} = \&run  if $run;
    };

    return;
}



( run in 0.341 second using v1.01-cache-2.11-cpan-a9ef4e587e4 )