Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling

Re: DBI prepare_cached

by runrig (Abbot)
on Sep 08, 2005 at 21:23 UTC ( #490328=note: print w/replies, xml ) Need Help??

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

    Thanks for the quick response.

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, Inc.

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://490328]
[stevieb]: I have got ready everything in a stable manner to go forward with a full-blown "Raspberry Pi with Perl" series, and at the same time "Automated testing locally for everything" series. A year it took. A year I've been waiting to do this.

How do I use this? | Other CB clients
Other Users?
Others chanting in the Monastery: (5)
As of 2017-06-29 01:32 GMT
Find Nodes?
    Voting Booth?
    How many monitors do you use while coding?

    Results (653 votes). Check out past polls.