in reply to Re: accessing Apache::DBI 'cached connections'
in thread accessing Apache::DBI 'cached connections'

well, for one it should be a single =, not a double, i'd think.

i 'borrowed' the line of code out of the _Writing ... _ book. supposedly there's a global $DBH variable.

i've changed the || to =, but still no stuff in $DBH.

  • Comment on Re: Re: accessing Apache::DBI 'cached connections'

Replies are listed 'Best First'.
Re: Re: Re: accessing Apache::DBI 'cached connections'
by perrin (Chancellor) on Jul 21, 2003 at 21:24 UTC
    No, you're reading something wrong. There is no global $DBH variable unless you declare one.
Re: Re: Re: accessing Apache::DBI 'cached connections'
by hardburn (Abbot) on Jul 22, 2003 at 13:22 UTC

    You're right, should have been a single =.

    ----
    I wanted to explore how Perl's closures can be manipulated, and ended up creating an object system by accident.
    -- Schemer

    Note: All code is untested, unless otherwise stated