It puts both "use $];" and "bootstrap $package \$VERSION;" in the
generated test module, which is going to break if we ever remove
`indirect` from the current feature bundle.
Fix by making the method call direct instead.
print FH ");\n";
# Print the AUTOLOAD subroutine ExtUtils::Constant generated for us
print FH autoload ($package, $]);
- print FH "bootstrap $package \$VERSION;\n1;\n__END__\n";
+ print FH "$package->bootstrap(\$VERSION);\n1;\n__END__\n";
close FH or die "close $pm: $!\n";
################ test.pl