On Mon, Sep 24, 2001 at 02:49:08PM +0100, Nicholas Clark wrote: > Fair enough. But: > > ./perl -Ilib -MTest::More -e 'plan(3); ok(1)' > Undefined subroutine &Test::More::plan called at -e line 1. > > Can't I use the module early, and then figure out how many tests I'm planning > to run at run time? If "no", I'm going to have to do my figuring-out in a > BEGIN block. This was with Test::More::VERSION '0.19'
Working on it, it's in the middle of an internals overhaul. Meantime, consider using SKIP blocks instead. If that can't work, use this: require Test::More; Test::More->import( tests => $tests ); Sorry for the inconvenience. -- Michael G. Schwern <[EMAIL PROTECTED]> http://www.pobox.com/~schwern/ Perl6 Quality Assurance <[EMAIL PROTECTED]> Kwalitee Is Job One BOFH excuse #399: We are a 100% Microsoft Shop.