in reply to Re: Finding index of an entry in an Array
in thread Finding index of an entry in an Array
note that if there are duplicate entries in the array, the index of the first (lowest index) entry will be returned. eliminate the reverse call to have it the other way.This should be restated to say exactly two duplicate entries. A third or further duplicates would be undetectable with this method.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^3: Finding index of an entry in an Array
by Anonymous Monk on Dec 07, 2007 at 08:16 UTC |
In Section
Seekers of Perl Wisdom