Nicholas Clark wrote:
> 
> 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'

You can look at what I did in t/op/ver.t as well, vis:

        $tests = [whatever] ? 47 : 44;

        require Test::More;
        Test::More->import( tests => $tests );

which works as well.  I think the SKIP method is better, though.

John

-- 
John Peacock
Director of Information Research and Technology
Rowman & Littlefield Publishing Group
4720 Boston Way
Lanham, MD 20706
301-459-3366 x.5010
fax 301-429-5747

Reply via email to