in reply to strings contain regular expression characters

quotemeta()

CountZero

A program should be light and agile, its subroutines connected like a string of pearls. The spirit and intent of the program should be retained throughout. There should be neither too little or too much, neither needless loops nor useless variables, neither lack of structure nor overwhelming rigidity." - The Tao of Programming, 4.1 - Geoffrey James

Replies are listed 'Best First'.
Solved - Re^2: strings contain regular expression characters
by onegative (Scribe) on May 24, 2009 at 17:13 UTC
    Kewl!!!...

    Thanks for the help...exactly what I needed...

    Danny
      We can use ' or q() as well.. quotemeta was absolutely right option