I'd like to use DBI's quote function without having to connect to a database and without having to create my own!
Is that possible?
--As for the rest, it is mine.
I would suspect it is not possible. You have a simple problem here: what quote format does DBI need to use? The purpose of the quote function is that each database needs a different quote format. If you haven't connected to a database how can DBI know which you intend to use?
The only thing I would try yet at this point would be importing the DBD's (for your specific database) quote function (I'm assuming quote is implemented in the obvious way) and using it directly, but I wouldn't count on that working.
Either that or re-think your problem, so that you don't have to quote it until you actually know which database you are using...
Daniel T. Staal
--------------------------------------------------------------- This email copyright the author. Unless otherwise noted, you are expressly allowed to retransmit, quote, or otherwise use the contents for non-commercial purposes. This copyright will expire 5 years after the author's death, or in 30 years, whichever is longer, unless such a period is in excess of local copyright law. ---------------------------------------------------------------
-- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>