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


in reply to Re: Trying to build a module for upload to CPAN
in thread Trying to build a module for upload to CPAN

Thanks for pointing out the link to the guide -- I originally skipped it, as one of the references said, Oh that uses h2xs, that's ancient. After looking at the guide a little more closely this morning, it looks like it has everything I need to more or less do the needful. I appreciate your feedback, and I'll try this out tonight after work. :)

Alex / talexb / Toronto

Thanks PJ. We owe you so much. Groklaw -- RIP -- 2003 to 2013.

  • Comment on Re^2: Trying to build a module for upload to CPAN

Replies are listed 'Best First'.
Re^3: Trying to build a module for upload to CPAN
by perlfan (Vicar) on Oct 30, 2021 at 01:03 UTC
    I still use h2xs for pure Perl modules - think I probably need to update that. Is this still state of the art for XS starters?

    I also noted in Minilla, assumes among other things:

    > Your modules are written in Pure Perl and are located in lib/.

      Thanks for your response! Replies to this node suggest that h2xs is outdated. As I point out in my post, I tried Minilla, and had some issues with it.

      I spent a few hours Friday night figuring out what was wrong, and determined that my MANIFEST file was incomplete. I also discovered that the POD Coverage tool fails to find POD in the named module under the lib directory -- once I'd added use lib './lib' to the test, it just worked. I've learned a lot.

      I've also figured out that my man page for the module is deficient -- I include a command line tool with the module, but I don't mention it at all in the POD, so I have to fix that omission. I've written a script to automate building a release (of course) and I copy files from the module directory into the CPAN directory if they're absent, but I don't do a cp -u $src $dest as I should. (Tangent -- I wrote a REXX script to do that on OS/2 in the early 90's. It was super useful.)

      The journey continues.

      Alex / talexb / Toronto

      Thanks PJ. We owe you so much. Groklaw -- RIP -- 2003 to 2013.