On Fri, 13 Aug 2004 12:50:44 -0700, Stas Bekman <[EMAIL PROTECTED]> wrote:
> Also make sure that you read:
> 
http://perl.apache.org/docs/1.0/guide/databases.html#Opening_Connections_With_Di
fferent_Parameters

Unfortunately, setting RootClass after the connect doesn't have the desired
effect (and isn't even valid, as far as I can tell; local()izing it throws
an exception)

So, what is the final answer here?  Is this not a bug at all?  If not, what
do people do when they need to create code that uses DBIx:: modules and runs
in both Apache::DBI and offline contexts?  Call $dbh->disconnect() unless
$ENV{'MOD_PERL'}?  Ick...

-John



-- 
Report problems: http://perl.apache.org/bugs/
Mail list info: http://perl.apache.org/maillist/modperl.html
List etiquette: http://perl.apache.org/maillist/email-etiquette.html

Reply via email to