Hi guys,

  This is my first post in the list!
  Maybe you can help me with this issue...
  I have a simple regex like this:

   if ($line =~ /$string/)
   {
      do something
   }

 The problem is that the contents in $string may contain metachars.
 I tried something like /($char | \$char)/  but I did not work.
 Thank you for any replies...
 Regards,

    Jeff

Reply via email to