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.
  • As you'll likely have to bundle this module with the distribution, have you thought of bundling Test::More itself? That seems like less work to me.

    • Hi. I knew you were going to suggest that before I read your post here, because I thought about it too earlier. Well, this idea did not cross the minds of the WWW::Form originator and me when we first implemented "CondTestMore". However, now that I think of it, I believe it would be sub-optimal because bundling Test::More and all of its dependencies (like Test::Builder) will increase the size of the WWW::Form distribution considerably. So I guess we'll stick with CondTestMore for the time being.

      I shoul

      • Okay, so instead of adding one line to your Makefile.PL or a few kilobytes to the distribution size, you want to maintain your own code that doesn't do as much, takes more work to maintain, has no other users, and increases your testing burden by adding an entirely new test path, when there is one really good way to solve this problem (mark Test::More as a dependency in your build file) and one decent way to solve this problem (bundle Test::More).

        I have some weird hobbies too, but ... wow. Good luck with that.

        • Actually, the Makefile.PL [cpan.org] does specify a dependency on Test::More. We just still want to have CondTestMore in case a user on an older perl installation that doesn't have Test::More, tries to build it from the source without using CPAN.pm/CPANPLUS.pm.