mrras25 has asked for the wisdom of the Perl Monks concerning the following question:
I have a sql query in perl that returns a column which could hold anything in it $#%@^"!_'/ and the string could be a long string and no telling where these specail characters will be placed in the string - I need to escape these characters before taking that string and inserting it back into the database.. </>
Please help - Thank you
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Need help escaping literal string
by davido (Cardinal) on Nov 15, 2012 at 01:32 UTC | |
by mrras25 (Acolyte) on Nov 15, 2012 at 01:47 UTC | |
by roboticus (Chancellor) on Nov 15, 2012 at 02:34 UTC | |
by mrras25 (Acolyte) on Nov 15, 2012 at 04:07 UTC | |
by muba (Priest) on Nov 15, 2012 at 02:20 UTC | |
Re: Need help escaping literal string
by MidLifeXis (Monsignor) on Nov 15, 2012 at 10:59 UTC |
Back to
Seekers of Perl Wisdom