http://www.perlmonks.org?node_id=11127674


in reply to Re: Comparing a value to a list of numbers
in thread Comparing a value to a list of numbers

Hi Dave,

> my $target = 42;

I think using a fixed number if some routines use a linear search might not lead to accurate results.

But I have to admit, I don't know yet how to best combine a random $target with Benchmark

Cheers Rolf
(addicted to the Perl Programming Language :)
Wikisyntax for the Monastery