in reply to Organizing Module Tests Sensibly

It is worth mentioning that h2xs is designed to help people that don't know what they're doing. It was never intended to stop people that do know what they are doing from doing what they want to do.

It is probably time for h2xs to get the same sort of refactoring that perldoc has had - to move the active code into a package in handy overridable chunks, and gut the executable to something as simple as use Perl::H2xs; Perl::H2xs->cli(@ARGV);