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.
  • I'm glad to see the extensions, Geoff. Now we just need brian to include it as an example file with Test::Pod.

    At this point, maybe brian should just create a Test::Pod::Distro based on this module to encapsulate all this code, so we module authors are not cut'n'pasting it everywhere.

    And don't you want to have the File::Spec::catfile call inside the if? Or can that throw an exception that you're wanting to catch?

    use Test::More;

    use File::Spec;
    use strict;

    eval {
      require Test::Pod;
      Test::Pod

    --

    --
    xoa

    • > At this point, maybe brian should just create a Test::Pod::Distro based on this module to
      > encapsulate all this code, so we module authors are not cut'n'pasting it everywhere.

      That's what Test::Distribution is for. I'm just making it more modular, adding options for checking PREREQ_PM, MANIFEST, exports and more. And I've taken some of code in these comments to make T::D more portable.