Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things

Re: Re: MakeMaker, h2xs, and writing CPAN modules

by perrin (Chancellor)
on Jun 24, 2002 at 05:37 UTC ( [id://176692]=note: print w/replies, xml ) Need Help??

in reply to Re: MakeMaker, h2xs, and writing CPAN modules
in thread MakeMaker, h2xs, and writing CPAN modules

Okay, so you're saying the thing to do is write the module and then use h2xs just to help create the distribution? That sounds reasonable and is basically what I've ended up with, it's just that all of the docs make it sound like you should start with h2xs.
  • Comment on Re: Re: MakeMaker, h2xs, and writing CPAN modules

Replies are listed 'Best First'.
Re: Re: Re: MakeMaker, h2xs, and writing CPAN modules
by Ovid (Cardinal) on Jun 24, 2002 at 14:03 UTC

    You can write the module either before or after you use h2xs. I've done both. When the docs are so strident about using h2xs, they're primarily referring to using it for modules that you are going to distribute (see "How To Write a Makefile.PL" in perldoc ExtUtils::MakeMaker).

    If you've already written your module, then use h2xs, though to be frank, using this utility before you start to write the module is easier because the Test::Harness is all ready to go, thus writing tests and using make test is sooooo much simpler.


    Join the Perlmonks Setiathome Group or just click on the the link and check out our stats.

Log In?

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://176692]
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others rifling through the Monastery: (2)
As of 2024-06-22 13:39 GMT
Find Nodes?
    Voting Booth?

    No recent polls found

    erzuuli‥ 🛈The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.