> Is there a perl built in function that search a value in sorted array?
> Although I found such an algorithm in the cpan (Search::Binary), I
> wonder if there is an efficient solution within the core perl. 

No, there is not. Because if you want to do that you should most 
probably be using a hash instead of the sorted array.

Jenda
===== [EMAIL PROTECTED] === http://Jenda.Krynicky.cz =====
When it comes to wine, women and song, wizards are allowed 
to get drunk and croon as much as they like.
        -- Terry Pratchett in Sourcery


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/


Reply via email to