Frankly, your co-worker is an idiot. Obviously Perl will be faster at this because it doesn't have all that OO baggage as a requirement for a simple program like this. Simpler is usually equal to faster, and this is a case where the perl code to do the job is MUCH simpler.