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. Thanks, Will ------------------------------------ > >A friend told me that I shouldnt use DBI's connect(), prepare(), exec()and disconnect() methods when I am using CGI.pm, but he said rather to use do(). >If that's *all* he told you, that's ridiculous. > Perhaps there is more to this story? > > > > >Can anyone tell me why? And, also, can anyone give > me > >some examples of how the do() method would allow me > to > >connect, run SQL queries and so on? > > do() doesn't allow you to connect, which is one > reason why > your friend's advice seems ill-advised. __________________________________________________ Do You Yahoo!? Yahoo! - Official partner of 2002 FIFA World Cup http://fifaworldcup.yahoo.com
