Benchmark Debug Perl

today we want to take a look whats the fastest way to debug our code in Perl:

and the Benchmark result is this:

We see that the best solution in both ways is to use a constant with “and”.It seems to me the compiler remove the constant and the print, becaus if you dont have the print after the command it ends in a infinite loop.

Leave a Reply

Your email address will not be published.

fourteen + 6 =