On Oct 9, 8:18 pm, [EMAIL PROTECTED] (Jeff Pang) wrote: > 2007/10/10, Dr.Ruud <[EMAIL PROTECTED]>: > > > No need for (), so you can write: > > > m/tony|anthony/i > > or, > /tony/i || /anthony/i > > this is faster than /tony|anthony/i.
Thanks to all you guys... after I published the question I didn't get a chance to look so I used something like this which did the job / \b(tony|anthony)\b/i .. I think i am going to see the performance difference between that and /tony/i || /anthony/i ... do we have a inbuilt time function in perl..? Thanks newBee -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://learn.perl.org/