On 10/1/03 11:37 AM, Paul Hoffman <[EMAIL PROTECTED]> wrote: >> Steal. Find a good distribution (say, MARC::Record) and adapt from >> there. >> >> I never use h2xs any more. > > I second that! I would start out this way: download a distribution by > a CPAN author who's got a few modules under their belt (say, INGY or > ABW or our own PETDANCE) and delete everything...
Thanks! The magic seems to be in the writing of a Makefile.PL file. Here is mine so far: use strict; use ExtUtils::MakeMaker; &WriteMakefile( NAME => 'MyLibrary', DISTNAME => 'MyLibrary', VERSION => '3.0-alpha', ABSTRACT => 'MyLibrary - a database-driven website framework', PMLIBDIRS => [ qw( lib/ ) ], AUTHOR => 'Eric Lease Morgan <[EMAIL PROTECTED]>', PREREQ_PM => { 'Test::More' => 0, }, dist => { COMPRESS => 'gzip -9f', SUFFIX => 'gz', }, depend => { Makefile => '$(VERSION_FROM)' }, ); Once I created this file, I was able to make bunches o' things, including my tests. Cool! 'More later. -- Eric Lease Morgan University Libraries of Notre Dame