in reply to Re^4: best way to inline code? (i.e. macro)
in thread best way to inline code? (i.e. macro)

I know, you're saying "that's not the problem"

You read my mind! Try replacing that connect() with a connect_cached().

-sam

  • Comment on Re^5: best way to inline code? (i.e. macro)

Replies are listed 'Best First'.
Re^6: best way to inline code? (i.e. macro)
by ManFromNeptune (Scribe) on Oct 18, 2005 at 00:48 UTC
    According to the DBI code:
    # XXX we expect Apache::DBI users to still call connect() # For library code using connect_cached() with mod_perl # we redirect those calls to Apache::DBI::connect() as well
    ...but thanks for having me double-check that! :)