At 12:06 AM -0700 5/18/11, Irfan Sayed wrote:
hi,

i need to catch "error" word in log file

i used reg exp like this :

if ($_ =~ /\berror\b/)
is this correct ?

Yes, that looks correct.


--
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/


Reply via email to