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.
Comment on
Re: $dollers %percents and all other things (/) slashed
Download
Code
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
[reply]
[d/l]
In Section
Seekers of Perl Wisdom