From: Tony B. <to...@ka...> - 2002-08-19 07:30:09
|
On Mon, Aug 19, 2002 at 04:22:15PM +0900, Tatsuhiko Miyagawa wrote: > > > if (caller(0) =~ /^Class::DBI/) > > But then you couldn't use it My::Subclass::DBI ... > That's the exact point. I mean there're two types of classes that > inherits from Class::DBI. One is users' classes like CompanyName::ClassDBI, > and another is developers' classes like Class::DBI::Pager. But in my experience, much of the code that ends up in Class::DBI::Whatever starts off in CompanyName::ClassDBI before getting 'promoted' ... especially in places where 'normal' developers are only allowed to write to the CompanyName hierarchy ... Tony |