----- Original Message ----- From: "Chris Faust" <[EMAIL PROTECTED]> To: "MySql Mailing List" <[EMAIL PROTECTED]> Sent: Sunday, January 05, 2003 1:55 PM Subject: mod_perl and mySql
> For example I've read > a bunch of posts where people said to do pooling its only a matter of > doing your connect like "$db || DBI->CONNECT", which just gives me > a syntax error. That looks odd. Perhaps you meant: "$db ||= DBI->connect ( ..." ? That will connect if $db is no longer defined (or when $db eq ""): in other words, when you lost the connection. Sorry, that is all the usefulness I have to contribute, if at all. :) - Mark --------------------------------------------------------------------- Before posting, please check: http://www.mysql.com/manual.php (the manual) http://lists.mysql.com/ (the list archive) To request this thread, e-mail <[EMAIL PROTECTED]> To unsubscribe, e-mail <[EMAIL PROTECTED]> Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php