http://qs321.pair.com?node_id=39517

mitd has asked for the wisdom of the Perl Monks concerning the following question:

I am back building modules. In the past I have always hand built file/package structure, Makefile.pl etc because I have always had trouble getting h2xs -X -n Foo::Bar to do what I want.

So here's what it(h2xs) does:

h2xs -X -n Foo::Bar produces; Foo/Bar/Bar.pm with Bar's package name as 'package Foo::Bar' now if you use Foo::Bar; it of course is not found, you need use Foo::Bar::Bar;

What I want is:

Foo/Bar.pm

Am I missing something or does h2xs just work as it appears and I still need to move stuff around by hand to get what I want.

Thanks.

mitd-Made in the Dark
'My favourite colour appears to be grey.'