http://qs1969.pair.com?node_id=41878

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

Ok, everybody knows:
h2xs -A -X -n Foo::Bar
But what if I want to create Foo::Bar and Foo::Baz?
I tried the following:
h2xs -A -X -n Foo h2xs -A -X -n Foo::Bar h2xs -A -X -n Foo::Baz
But I am not sure if this is what I really want.

"So, what _DO_ you want?"

Glad you asked. I am writing two modules that I would like to bundle together, for example, Bar and Baz are packages that live under the package Foo. I would like to package them up in a CPAN module so that I can install them both one a machine at the same time.

It seems to me that calling h2xs 3 times like above is not the right way to accomplish this, but I could be wrong.

Thanks,
Jeff