> 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
- [techtalk] Perl question Lynn Kuhlman
- Re: [techtalk] Perl question Stewart Larsen
- Re: [techtalk] Perl question Kristina Pfaff-Harris
- joey tsai