> Is this correct?
> 
>  if  ($string1 =~ /\*\s*\$string2|\$string2/)   
                          ^^        ^^
Looks like you're escaping the variable, you're searching for a literal
dollar sign rather than the value of $string2.

        // jt



_______________________________________________
techtalk mailing list
[EMAIL PROTECTED]
http://www.linux.org.uk/mailman/listinfo/techtalk

Reply via email to