Acme-VarMess
view release on metacpan or search on metacpan
inc/Module/Install.pm view on Meta::CPAN
sub autoload {
my $self = shift;
my $caller = caller;
my $cwd = Cwd::cwd();
my $sym = "$caller\::AUTOLOAD";
$sym->{$cwd} = sub {
my $pwd = Cwd::cwd();
if (my $code = $sym->{$pwd}) {
goto &$code unless $cwd eq $pwd; # delegate back to parent dirs
}
$$sym =~ /([^:]+)$/ or die "Cannot autoload $caller";
unshift @_, ($self, $1);
goto &{$self->can('call')} unless uc($1) eq $1;
};
}
#line 183
sub new {
( run in 0.229 second using v1.01-cache-2.11-cpan-4d50c553e7e )