in reply to DBI prepare_cached

What is the scope of that hash? Is it useless to use prepare_cached when a statement handle is not executed more than once within a given subroutine?
The same as the $dbh. If a given statement is only executed prepared once on the same database handle, then prepared_cached is useless.

Replies are listed 'Best First'.
Re^2: DBI prepare_cached
by hok_si_la (Curate) on Sep 08, 2005 at 21:32 UTC
    runrig,

    Thanks for the quick response.

    hok_si_la
Re^2: DBI prepare_cached
by Codon (Friar) on Sep 08, 2005 at 21:42 UTC
    I so mis-read that reply. Never mind.

    Ivan Heffner
    Sr. Software Engineer, DAS Lead
    WhitePages.com, Inc.