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.
  • Running visitcpan [cpan.org] against my mini CPAN repo and searching for "Test::Builder->new" in a perl file in the lib directory revealed 182 hits. (Some are certainly false-positives, like Test-Simple itself.)

    List is online here [dagolden.com].

    -- dagolden

    • That looks sweet!

      Could you post the exact incantation you used with visitcpan? I'd like to steal some ideas.

      • It doesn't ignore Test::Bulder->new within subroutines -- this is an ack search so you get anything that uses that code at all. You'd need PPI for something more sophisticated.

        I ran:

        visitcpan -q -a dist ~/git/sandbox/visitcpan/scan-test-builder-new | tee t-b-new

        See also scan-test-builder-new [dagolden.com] for the actual script run in each distribution directory

    • Test::Warn is not in the list, because dist has no lib directory, only Warn.pm.