in reply to
Updates to a guessing number script
Pretty much everything has been said by
davido
and others, just a couple of other keywords you might want to "google" besides "binary search" are "bisection method" and "dichotomy method".
Comment on
Re: Updates to a guessing number script
In Section
Seekers of Perl Wisdom