Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

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

by Seumas (Curate)
on Jun 14, 2003 at 23:37 UTC ( #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
Node Status?
node history
Node Type: note [id://265971]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (6)
As of 2014-09-17 00:09 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (54 votes), past polls