[Dbix-class] inheritance problem?

Daniel Westermann-Clark dwc at pobox.com
Tue Sep 26 01:02:10 CEST 2006


On 2006-09-25 15:41:48 -0700, Alan Humphrey wrote:
>   DB<8> x $schema->{storage}>isa('DBIx::Class::Storage::DBI::Sybase::MSSQL')
> 
> 0  1
>   DB<9> x $schema->{storage}->isa('DBIx::Class::Storage::DBI::NoBindVars')
> 
> 0  1
>   DB<10> x $schema->{storage}->can('_execute')
> 
> 0  CODE(0x938439c)
>    -> &DBIx::Class::Storage::DBI::_execute in
> /usr/pkg/lib/perl5/site_perl/5.8.0/DBIx/Class/Storage/DBI.pm:752-784

Actually, looking at this again, I'm pretty sure it's right: neither
DBIx::Class::Storage::DBI::Sybase::MSSQL nor its parent classes
override _execute.

NoBindVars does its work in _prep_for_execute, so I'd expect that a
->can on that would refer there.

-- 
Daniel Westermann-Clark



More information about the Dbix-class mailing list