> My perl is far from perfect but wont this statement match on any
> version?
> 
>   if ($virus_type =~ /$virus/i) {
> 
> klez =~ klez.h
> or
> klez =~ Klez.h
> or
> klez =~ Klez.Z
> 
> Would all match yes/no? I thought this type of compare worked like a
> grep.

yes.  /$virus/i means match the text case-insenstive.. so "klez" would match klez.h, 
klez.g, Klez.H, New.Klez.X etc...
Dallas


-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Qmail-scanner-general mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/qmail-scanner-general

Reply via email to