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

Not at the moment - though DBD::Sybase could be patched to alias prepare_cached() to prepare(). This would avoid the whole problem and disable prepare_cached().

In DBD::Sybase's, right after the definition of prepare() (in the DBD::Sybase::db package)

*prepare_cached = *prepare;
That way any call to DBD::Sybase::db::prepare_cached() will really call prepare() instead.