Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Re: Test if string is already quote()'d?

by mce (Curate)
on Jun 16, 2003 at 07:32 UTC ( #266127=note: print w/ replies, xml ) Need Help??


in reply to Test if string is already quote()'d?

Hi,

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


Comment on Re: Test if string is already quote()'d?

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://266127]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (9)
As of 2014-12-28 01:29 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (177 votes), past polls