Minions

 view release on metacpan or  search on metacpan

lib/Minions/Implementation.pm  view on Meta::CPAN

package Minions::Implementation;

use strict;
use Minions::_Guts;
use Package::Stash;
use Readonly;

sub import {
    my ($class, %arg) = @_;

    strict->import();

    $arg{-caller} = (caller)[0];
    $class->define(%arg);
}

sub define {
    my ($class, %arg) = @_;

    my $caller_pkg = delete $arg{-caller} || (caller)[0];
    my $stash = Package::Stash->new($caller_pkg);



( run in 0.340 second using v1.01-cache-2.11-cpan-299005ec8e3 )