Devel-Trepan
view release on metacpan or search on metacpan
lib/Devel/Trepan/DB/SelfLoader.pm view on Meta::CPAN
}
if ($@) {
$@ =~ s/ at .*\n//;
croak $@;
}
$@ = $save;
defined(&$AUTOLOAD) || die "SelfLoader inconsistency error";
goto &$AUTOLOAD
}
sub load_stubs { shift->_load_stubs((caller)[0]) }
sub _load_stubs {
# $endlines is used by Devel::SelfStubber to capture lines after __END__
my($self, $callpack, $endlines) = @_;
no strict "refs";
my $fh = \*{"${callpack}::DATA"};
use strict;
my $currpack = $callpack;
my($line, $name, @lines, @stubs, $prototype);
( run in 2.104 seconds using v1.01-cache-2.11-cpan-1e74a51a04c )