Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
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
Domain Nodelet?
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 meditating upon the Monastery: (3)
As of 2023-03-22 20:18 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Which type of climate do you prefer to live in?






    Results (60 votes). Check out past polls.

    Notices?