in reply to Re^2: Passing Dynamic Value to Test::More testsin thread Passing Dynamic Value to Test::More tests
use warnings; BEGIN {$test_count = 2} use Test::More tests => $test_count; ok(1); ok(3); [download]