in reply to Passing Dynamic Value to Test::More tests
BEGIN { $test_count = 2; eval ("use Test::More tests => ".$test_count) ; } [download]