From: Alessio B. <al...@al...> - 2001-05-08 12:57:50
|
I'm patching Slash 2.0pre3 for PostgreSQL. I've reworked heavily Slash::DB::PostregSQL, but I didn't touch the @ISA scheme. And I've got a problem in this. I've managed to have slashd working fine, fixing Slash::DB::Static::PostgreSQL. But every web request ends up in something like [Tue May 8 15:48:09 2001] [error] Can't locate object method "sqlConnect" via package "Slash::DB" at /usr/local/lib/site_perl/i386-linux/Slash/Apache/User.pm line 75. sqlConnect is in fact located in Slash::DB::Utility, @Slash::DB::ISA = qw[ Slash::Utility ] but at runtime it (should) get @Slash::DB::ISAPg = qw[ Slash::Utility Slash::DB::PostgreSQL Slash::DB::MySQL ]; and @Slash::DB::PostgreSQL::ISA = qw(Slash::DB::Utility) it's not simple at all and I get confused... But what I understand is that sqlConnect should be called from Slash::DB -> Slash::DB::PostgreSQL -> Slash::DB::Utility . This doesn't happen. Any idea :-? I am using a test environment of Apache 1.3.19 and mod_perl 1.25 (perl 5.005_03) on Debian potato, connecting to a PostgreSQL 7.1.1 database on Digital Unix. -- Alessio F. Bragadini al...@al... APL Financial Services http://village.albourne.com Nicosia, Cyprus phone: +357-2-755750 "It is more complicated than you think" -- The Eighth Networking Truth from RFC 1925 |