On Mon, 1 Jul 2002 08:54:50 -0700 (PDT) Will <[EMAIL PROTECTED]> wrote:
> I double checked the conversation in my ICQ history, > and I had one little glitch... > > Err... It wasnt CGI.pm, but mod_perl he was warning > me about... Sorry for the mixup... > > Anyway, I still dont get why one would have to use > DBI's do() commands instead of the regular connect(), > prepare(), execute() and disconnect() method. connect() and disconnect() are necessary regardless of whether you use do() or prepare() plus execute(). do() is a convenience method that calls prepare() and execute(); it is useful for non-SELECT SQL as long as you don't need to execute() the statement more than once. This is all in the fine manual, run 'perldoc DBI' to read it. -- Mac :}) ** I normally forward private questions to the appropriate mail list. ** Ask Smarter: http://www.tuxedo.org/~esr/faqs/smart-questions.html Give a hobbit a fish and he eats fish for a day. Give a hobbit a ring and he eats fish for an age.
