use Benchmark; timethese(100000, { 'Test' => 'eval{die "x" x 100000 if $] < 5.01}', });