I've finally gotten around to putting a module up on CPAN. I pulled down Test::Prereq in order to check that I had put all the requirements in my PREREQ_PM list. At first I got an odd failure from it, then I got an unhelpful response; this makes me think that I'm using it improperly. Can any more experienced monks steer me to a better FM than I have found thus far?

I had the following two problems:

  1. When I ran the command-line example that was given in the T::P module docs, I was told 'You tried to plan twice!' and it died. Aside from Test::Builder, none of the Test:: modules are included in my module, and I certainly do not call plan()
  2. That having failed, I took the script-based example from the T::P docs and put it in my t/001.t file. That ran, but all it tells me is "Found some missing prereqs". This seems unhelfpul...I rather expected a list.

The module in question is intended to help out with the testing of a CGI via comparing it to known-good output. It was built using the 'modulemaker' script included with ExtUtils::ModuleMaker and uses Module::Build as its build framework.


In reply to Test::Prereq difficulties by Whitehawke

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.