RE: Use DBI quote without creating an object

2003-12-11 Thread david
David wrote: > Bob Showalter wrote: > >>use DBI; >>print DBD::_::db->quote('Hello'); >> >> perldoc -m DBI > > this does not work, you need: > sorry. i am wrong. your version works as well. david -- s,.*,<<,e,y,\n,,d,y,.s,10,,s .ss.s.s...s.sss.s.ss s.s.s...s...s..s...

RE: Use DBI quote without creating an object

2003-12-11 Thread david
Bob Showalter wrote: >use DBI; >print DBD::_::db->quote('Hello'); > > perldoc -m DBI this does not work, you need: [panda]# perl -MDBI -le 'print DBD::_::db::quote(1,"abcd")' david -- s,.*,<<,e,y,\n,,d,y,.s,10,,s .ss.s.s...s.sss.s.ss s.s.s...s...s..s ...s.ss..s.sss

Re: Use DBI quote without creating an object

2003-12-11 Thread Daniel Staal
--As off Thursday, December 11, 2003 12:53 PM -0600, Dan Muey is alleged to have said: 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

RE: Use DBI quote without creating an object

2003-12-11 Thread Bob Showalter
Dan Muey wrote: > Howdy! > > I'm creating some sql entries into a text file. > > 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? > > I've tried importing quote, doing DBI::quote, DBI::db::quote, and > vari

Use DBI quote without creating an object

2003-12-11 Thread Dan Muey
Howdy! I'm creating some sql entries into a text file. 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? I've tried importing quote, doing DBI::quote, DBI::db::quote, and various versions of that. Any ideas? G