App-Jup

 view release on metacpan or  search on metacpan

lib/App/Jup/DSL.pm  view on Meta::CPAN

sub import {
    my ($class, @args) = @_;
    my $caller = caller;

    croak qq{"$_" is not exported by the $class module} for @args;

    charm->import::into($caller);

    # APIS
    no strict 'refs';
    *{caller() . '::link'} = \&link;

}


sub link {
    my $code = shift;
    for my $link (keys %{$code}) {
        say "Linking application $link";
    }
}



( run in 0.296 second using v1.01-cache-2.11-cpan-b61123c0432 )