On Wed, Jul 18, 2007 at 09:49:24AM +0000, JeeBee wrote: > Because I'm trying to match this regular expression a lot of times, that > could very well be the point to improve. I can imagine this is the > slowest part of the script:
Don't imagine. Profile. Then you'll know which parts of your program are taking the time and you won't spend your time optimising something that won't make much difference. -- Paul Johnson - [EMAIL PROTECTED] http://www.pjcj.net -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://learn.perl.org/