Hi, am running mod_perl 2 applications under this configuration: Apache/2.0.47 (Unix) mod_perl/1.99_09 Perl/v5.8.0. DBI version 1.37 Apache::DBI version 0.92
Everything runs smoothly apart the DBI connections handled with Apache::DBI.
I'm actually using Extropia ADT toolkit, so basically I'm storing under Apache::DBI not 'vanilla' DBI class objects but Extropia::Core::DataSource::DBI class objects (which directly extend DBI class).
The error I catch is:
[error] undef error - Undefined subroutine &Apache::DBI::db::quote called at ..../ADT/Modules/Extropia/Core/DataSource/DBI.pm
Actually the Extropia::Core::DataSource::DBI module doesn't implement the quote method (being implemented in the base DBI class).
The problem seems related with the caching/restoring mechanism, being almost the same using other mechanisms (Storable and Cache::Cache). Using such mechanisms the object I get back is truly blessed to the right class (Extropia::Core::DataSource::DBI) but still cannot anymore access base class not overloaded methods.
No problems using base vanilla DBI objects.
What's wrong ?
Generally, are there known limitations caching/retrieving extended classes ?
--Marco.
-- Reporting bugs: http://perl.apache.org/bugs/ Mail list info: http://perl.apache.org/maillist/modperl.html