in reply to similar string matching
The algorithms are quite well established, but they're not obvious. If you try to roll your own, you'll quite probably end up with very slow matching. Look at http://www.bioperl.org/ and you'll find all the information you need.
The short version: use BLAST or derived methods.
-- dakkar - Mobilis in mobile
Most of my code is tested...
In Section
Seekers of Perl Wisdom