On Wed, Oct 01, 2003 at 11:48:20AM -0500, Eric Lease Morgan wrote:
>
> My Perl Cookbook says I should use this command to initialize my project:
> 
>   h2xs -XA -n MyLibrary

Eric,

Here's a related recommenation. I recommend trying 'modulemaker' as 
more pleasant alternative to h2xs. Install ExtUtils::ModuleMaker,
which includes the modulemaker binary.

However, both techniques will produce a similar set of resulting files,
so this doesn't directly address your question. I don't know of a slick
solution o generate lots of boilerplate modules without generating a
bunch of distribution framework as well. 

If you are thinking of your collection of modules as a group that would
be distributed or used only as a collection, I would run h2xs or
modulemaker just once. 

Then you could copy the contents of the boiler plate ".pm" file that's
generated, changing references to the name as needed.

Perhaps someone else will know a better solution and enlighten us both.
:)

        Mark

-- 
 . . . . . . . . . . . . . . . . . . . . . . . . . . . 
   Mark Stosberg            Principal Developer  
   [EMAIL PROTECTED]     Summersault, LLC     
   765-939-9301 ext 202     database driven websites
 . . . . . http://www.summersault.com/ . . . . . . . .

Reply via email to