GrandFather,
Thank you for the reference to List::Util. I was actually just seeking a way to improve my current algorithms. (To squeeze as much out of Perl as I possibly could for my own personal edification). I would curious ot know if List Util using C to gain the edge?