Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?

Re^3: Trying to build a module for upload to CPAN

by perlfan (Vicar)
on Oct 30, 2021 at 01:03 UTC ( #11138248=note: print w/replies, xml ) Need Help??

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

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/.

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

Replies are listed 'Best First'.
Re^4: Trying to build a module for upload to CPAN
by talexb (Chancellor) on Oct 31, 2021 at 03:52 UTC

    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.

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (9)
As of 2022-08-18 10:32 GMT
Find Nodes?
    Voting Booth?

    No recent polls found