requires 'Class::Accessor::Fast' => '0.30';
requires 'Class::Data::Accessor' => '0.03';
requires 'Class::C3' => '0.18';
-requires 'Class::C3::Componentised' => 0;
+requires 'Class::C3::Componentised' => '1.0005';
requires 'Carp::Clan' => 0;
requires 'Class::Inspector' => 0;
requires 'DBIx::Class' => '0.07006';
my $driver = $dbh->{Driver}->{Name};
my $subclass = 'DBIx::Class::Schema::Loader::DBI::' . $driver;
- if ($self->ensure_class_found($subclass)) {
- eval { $self->ensure_class_loaded($subclass) };
- croak "Failed to load $subclass: $@" if $@;
+ if ($self->load_optional_class($subclass)) {
bless $self, $subclass unless $self->isa($subclass);
- $self->_rebless();
+ $self->_rebless;
}
# Set up the default quoting character and name seperators