jck has asked for the wisdom of the Perl Monks concerning the following question:
i'm trying to clean up my CGI driven content with the following, e.g.:
if you can't see it, the character that is being replaced is a right curly single quote$in{'content'} =~ s/’/’/g;
trouble is, it's not replacing anything, the right curly quote is still there after i do the update.
any suggestions?
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: zapping gremlins
by imp (Priest) on Jul 02, 2006 at 04:55 UTC | |
Re: zapping gremlins
by chromatic (Archbishop) on Jul 02, 2006 at 04:39 UTC | |
Re: zapping gremlins
by davido (Cardinal) on Jul 02, 2006 at 04:12 UTC | |
Re: zapping gremlins
by TedPride (Priest) on Jul 02, 2006 at 07:52 UTC | |
by wfsp (Abbot) on Jul 02, 2006 at 09:41 UTC | |
Re: zapping gremlins
by TedPride (Priest) on Jul 02, 2006 at 19:33 UTC |
Back to
Seekers of Perl Wisdom