Lines Matching refs:AUTOLOAD
5 @EXPORT = qw(AUTOLOAD);
22 AUTOLOAD {
23 print STDERR "SelfLoader::AUTOLOAD for $AUTOLOAD\n" if $DEBUG;
24 my $SL_code = $Cache{$AUTOLOAD};
25 my $save = $@; # evals in both AUTOLOAD and _load_stubs can corrupt $@
29 $AUTOLOAD =~ m/^(.*)::/;
31 $SL_code = $Cache{$AUTOLOAD};
32 $SL_code = "sub $AUTOLOAD { }"
33 if (!$SL_code and $AUTOLOAD =~ m/::DESTROY$/);
34 croak "Undefined subroutine $AUTOLOAD" unless $SL_code;
36 print STDERR "SelfLoader::AUTOLOAD eval: $SL_code\n" if $DEBUG;
44 defined(&$AUTOLOAD) || die "SelfLoader inconsistency error";
45 delete $Cache{$AUTOLOAD};
46 goto &$AUTOLOAD
74 if (defined(&{"${1}::AUTOLOAD"})) {
75 \&{"${1}::AUTOLOAD"} == \&SelfLoader::AUTOLOAD ||
79 $self->export($1,'AUTOLOAD');
89 if (defined(&{"${1}::AUTOLOAD"})) {
90 \&{"${1}::AUTOLOAD"} == \&SelfLoader::AUTOLOAD ||
92 " package $currpack which already has AUTOLOAD";
94 $self->export($currpack,'AUTOLOAD');
196 The B<SelfLoader> exports the C<AUTOLOAD> subroutine to the
221 the AUTOLOAD function - but if you have your own AUTOLOAD and
301 should note that this requires exporting the C<SelfLoader::AUTOLOAD> to
316 B<SelfLoader> C<AUTOLOAD> method when the data after C<__DATA__> is first