Stories
Slash Boxes
Comments
NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.

All the Perl that's Practical to Extract and Report

The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
 Full
 Abbreviated
 Hidden
More | Login | Reply
Loading... please wait.
  • Ideally there'd be a local config file that would save me having to type my own name and email address all the time. And overridable templates for what I'd like in my modules, MANIFEST.skip, extra default tests etc. (And are bugs *really* to be reported to bug-test-html-tidy@rt.cpan.org? :) Tony
    • Personally I also like a README in there. I note that the POD on CPAN [cpan.org] is difficult to read, perhaps it might be worth adding a cheat, something like 'Below is the example layout of the POD', with a few choice '----' to highlight the block. Or is there a way to stop that from happening ?

      I definitely like Tony's idea of a configuration file. Perhaps something like the one the cpan-upload [cpan.org] script uses.

    • (And are bugs *really* to be reported to bug-test-html-tidy@rt.cpan.org?

      Nope, and it highlights the danger of how I've been doing new module creation: Cut & paste from an existing good module.

      --

      --
      xoa

  • Might want to avoid the 00.blah.t style names for the tests. Multiple periods in filenames tend to screw up VMS systems, IIRC.
  • Geoff Avery has ExtUtils::ModuleMaker [cpan.org], a replacement for h2xs.

    It hasn't been updated in awhile and I do like the name Module::Starter better. Just wanted to bring it to your attention if you didn't know about it.

    --

    -biz-

    • Any others that I don't know about? obra claimed "~dozen" existing similar packages, but that seems high.
      --

      --
      xoa

      • On search.cpan.org, just did a search for h2xs and skimmed the results. ExUtils::ModuleMaker seems like the only one that I could find.

        I take back not being recently updated, Geoff updated it in June of 2003 (during the last YAPC::NA in Boca Raton where he did a presentation on it)

        Kinda like does what you want with the command line tool 'modulemaker' (reminds me of brian d foy's 'release').

        --

        -biz-

      • Barries has Module::Husbandry but I think it's been abandoned in the face of his paid work getting in the way.

        Ron Savage has Module::MakeDist

        Jonas B. Neilson has Module::Template::Setup

        Those were the ones I found by doing a search of "Module" on search.cpan.org ... note that I have used Barries Module::Husbandry and it has some nice command line tools for moving files into and out of packages (and I can attest it works under Windows despite the POD).

      • There is Mark Fowler's mmm script (which has the template support that other people asked for), and I am still working on my scriptdist script which I have been using to do the same thing.

        When I was researching this for an upcoming TPJ article, I found all sorts of prior implementations, most of which are not on CPAN. As with a lot of things people hack on something to get what they want, and that is where their work stops.