http://www.perlmonks.org?node_id=694238


in reply to Module Building 5.6 vs 5.8 or 5.10

The structure now generated by h2xs is not actually flat. It is:

This-Module-Name/ This-Module-Name/lib/ This-Module-Name/lib/This/ This-Module-Name/lib/This/Module/ This-Module-Name/lib/This/Module/Name.pm This-Module-Name/Makefile.PL This-Module-Name/Changes This-Module-Name/t etc

Other changes include using Test::More rather than Test....

You can specify --compat-version=5.x.x but if you want all the old behaviour (including the horrid old directory structure) then you probably need to use an old version of h2xs.