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


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

This one works for me.
BEGIN { $test_count = 2; eval ("use Test::More tests => ".$test_count) ; }
Thanks..