perlquestion
mitd
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. <p>
So here's what it(h2xs) does:
<code>
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;
</code>
<p>
What I want is:
<code>
Foo/Bar.pm
</code>
<p>
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.
<p>
Thanks.
<p>
<a href="/index.pl?node=mitd&amp;amp;lastnode_id=1072">mitd</a>-Made in the Dark<br>
'My favourite colour appears to be grey.'