AFAIK DBI's quote will untaint your string. So you can look at the Taint module. You can use the taint function to before you quote, and the is_tainted to check whether it is quoted.
Anyway, this is not really a nice solution, but it might work.
I hope this helps
---------------------------
Dr. Mark Ceulemans
Senior Consultant
BMC, Belgium
In reply to Re: Test if string is already quote()'d?
by mce
in thread Test if string is already quote()'d?
by Seumas
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |