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.
  • Got a module that actually uses has repository filled in so I can see how it works?
  • with Module::Install, add the following to your Makefile.PL:

    resources repository => 'http://...';

    with MakeMaker, add the following to WriteMakefile (thanks claes):

    EXTRA_META => q{
    resources:
            repository: http://.../ [...]
    },

    • ...and with Module::Build, it's:

      meta_merge => {
                 resources => {
                     repository => 'http://...',
                 }
      }

  • Why stop the fun at the repository?

    I've augmented the original script to display the bugtracker (if different than rt), homepage and mailinglist advertised in the META.yml as well. This version can be found at http://userscripts.org/scripts/show/31748 [userscripts.org].

    • Cool stuff!

      Would it be possible to key off something else other than "CPAN Testers"? That particular row doesn't show up unless tests have been run.
      Admittedly, it's an edge case, but still...

      Here's an example fix:

      102c102
      <         /<tr>\s*<td.*?>CPAN Testers/i,
      ---
      >         /<tr>\s*<td.*?>Links/i,

      Also, any thought to setting up a github for this script?
      • Would it be possible to key off something else other than "CPAN Testers"? That particular row doesn't show up unless tests have been run. Admittedly, it's an edge case, but still...

        Good catch. I'll try to fix that as soon as I can. Thanks!

        any thought to setting up a github for this script?

        Ask, and... well, you know the drill by now. ;-) It's at http://github.com/yanick/greaseyanick/tree/master [github.com]

      • Just to say that I finally got around moving the hook off 'Testers' and on a more trustworthy row. I've made the change to the new CPAN_Meta script, though, considering that it supersede the original CPAN_repository. Enjoy! :-)