http://www.perlmonks.org?node_id=119836


in reply to Re: Tricks with DBI
in thread Tricks with DBI

And, for the same reasons, you should use prepare_cached instead of prepare.
Never prepare_cached() ping calls, because you will get true each time instead of actual ping results.