in reply to Speed Improvement

Given McA's benchmark indicates you can expect to process at least 20,000 of these a second what are you doing where that is a limiting factor? Maybe you should tell us a little more of what you are doing in case we can identify larger bottle necks? Even better would be to profile your code and see for yourself where the issues are.

Perl is the programming world's equivalent of English