Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

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

by Seumas (Curate)
on Jun 14, 2003 at 23:37 UTC ( [id://265971]=note: print w/replies, xml ) Need Help??


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

Yeah, that's what I was assuming with regard to quoted strings. The problem wouldn't be so bad with outside quotes, but once you get into having to check whether the value was actually escape quoted ('O\'Donnel' for example) and so on... Ugh.

I suppose I can just go ahead and push the bound parameter values into an array to execute. That seemed like a clunky way to do it in my head, because it just seemed too possible to miscount or trip up... but maybe that's not as likely as I first thought.

Not to mention... quote()'ing everything is insane and I've been avoiding it as much as I can except in this specific circumstance.

Sometimes you have the answer all along and just need people to reaffirm that you're not stupid. :) Thanks.
  • Comment on Re: 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://265971]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others contemplating the Monastery: (4)
As of 2024-04-19 23:08 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found