=cut
AUTOLOAD {
- my $name = "auto/$AUTOLOAD.al";
+ $AUTOLOAD =~ /([\w:]+)/; # avoid taint problems for eval require $name
+ my $name = "auto/$1.al";
$name =~ s#::#/#g;
eval {require $name};
if ($@) {
croak $@;
}
}
+ $DB::sub = $AUTOLOAD; # Now debugger know where we are.
goto &$AUTOLOAD;
}