in reply to $dollers %percents and all other things (/) slashed

A solution: $userinput = quotemeta $userinput; quotemeta adds a backslash before each non-word character in the string.

Replies are listed 'Best First'.
Re: Re: $dollers %percents and all other things (/) slashed
by otijim (Acolyte) on Dec 11, 2000 at 22:59 UTC
    quotemeta did the trick!!! I never would have found that
    being a newby and all.

    Thank you much,
    otijim