in reply to
Index finding problem
this sounds like it's a homework problem from a CS class.
Comment on
Re: Index finding problem
In Section
Seekers of Perl Wisdom