[nzlug] quoting perl strings

Glenn Enright glenn.enright at gmail.com
Mon Oct 1 09:52:27 NZST 2007


Hi all, can anyone offer a suggestion as to how I may do this thing.

More specifically, Im assigning a value to a quoted string for an SQL
statement. But one of the values has a single quote mark in it, and
possible other unusual characters as well. whats the best thing (TM)
to do here? Run a regex on it?

Regards, Glenn.

-- 
See my blog at
http://snap-happy3216.blogspot.com



More information about the NZLUG mailing list