Hello Perl people,
Recently, upgrading to perl v5.8.5 I've noticed that h2xs lays out module directory structure in a quite different way than before. Prior to this I could create a module e.g. Data::Loader h2xs -XA -n Data::Loader And it would create directory Data, then subdirectory Loader with Loader.pm module and other files. The full path to the module looks like /Data/Loader/Loader.pm If I want to create another module e.g. Data::Reader h2xs would put it into /Data/Reader/Reader.pm Which is logically correct.
How the same command produces directory Data-Loader with service files and subdirectory lib in which it creates subdirectory Data in which it creates
the module Loader.pm
The full path to the module looks like /Data-Loader/lib/Data/Loader.pm
For another module e.g. Data::Reader it will be
/Data-Reader/lib/Data/Reader.pm
Why? Makes no sense to me. What the hell is going on with h2xs?
Thank you in advance for any clues or practical help.
That behaviour was changed to reflect current conventions for directory layout. If you look at other modules that perform the same function, Module::Starter[1] & ExtUtils::ModuleMaker[2], you'll see that they behave the same way.
1. <http://search.cpan.org/dist/Module-Starter/> 2. <http://search.cpan.org/dist/ExtUtils-ModuleMaker/>
-- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>