use Test::More; my @tests = ( [ @test_input_args_1, $expected_output_1 ], ... [ @test_input_args_N, $expected_output_N ], ); plan tests => scalar @tests; # run tests here