http://qs1969.pair.com?node_id=524124


in reply to Passing Dynamic Value to Test::More tests

Try:
BEGIN {$test_count = 2} use Test::More tests => $test_count;
Cheers,
Rob