in reply to Test::Prereq difficulties
Which version of Test::Prereq are you using? How are you using it? Can you post the script that you wrote using it?
I'm guessing that your command line was the following, which is a documentation error. prereq_ok() now calls plan() itself, so it doesn't need to call it on the command line too.
perl -MTest::More=tests,1 -MTest::Prereq -eprereq_ok
The fix is to just not tell Test::More anything. I've patched the docs for this and sent the new version to CPAN.
perl -MTest::More -MTest::Prereq -eprereq_ok
I'm not sure about your second problem since the error message you say yout got isn't anywhere in the current Test::Prereq sources.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Test::Prereq difficulties
by fergal (Chaplain) on Mar 04, 2005 at 23:24 UTC | |
by brian_d_foy (Abbot) on Mar 09, 2005 at 05:39 UTC | |
by fergal (Chaplain) on Mar 09, 2005 at 11:55 UTC |