I have found some nodes on the subject of creating CPAN packages, using the h2xs program, but none of them really got into the specific details of the matter. Now I know that there are several monks out there, who have contributed to CPAN, and therefore, are probably familiar with the process of using h2xs. I personally would like to see a tutorial cover the basics and maybe describe how they went throught the process of using the files that are created by the h2xs program.

In the end, there can be only one!

Edit by tye to remove many <BR>s

UPDATE: Taking merlyn's advice, I went through both perlmod and perlmodlib, plus I re-read this node by jeffa which answered another question I had. As soon as I can formulate the appropriate questions, I will update this node again.

UPDATE 2Thanks to $code or die for the link to perlnewmod (it answered my few remaining questions), and for the idea of getting Damian's book. I will probably pick it up this weekend.

Replies are listed 'Best First'.
Re: Idea for a new Tutorial
by merlyn (Sage) on May 15, 2001 at 21:25 UTC
    You might describe publicly what you find lacking in perlmod and perlmodlib first. Admittedly, a tutorial would probably spend about twice as long at that, but I'm curious about the questions you have left after reading those.

    -- Randal L. Schwartz, Perl hacker

Re: Idea for a new Tutorial
by $code or die (Deacon) on May 16, 2001 at 05:04 UTC
    In addition to merlyn's advice, although perhaps slightly OT: if you can get your hands on Damian Conway's - Object Oriented Perl you won't regret it. h2xs is just a part of writing a module for CPAN, but much more is covered in the OOP book. And even if you don't write an OOP module, there are loads of neat tips and tricks in there.

    Also, take a look at perlnewmod which is included in the docs for Perl 5.6.1

    $code or die
    $ perldoc perldoc