Revision history for DBIx::Class\r
\r
+0.03003\r
+ - Changed use to require in Relationship/Base to avoid import\r
+\r
0.03002 2005-10-20 22:35:00\r
- Minor bugfix to new (Row.pm)\r
- Schema doesn't die if it can't load a class (Schema.pm)\r
my ($class, $rel, $f_class, $cond, $attrs) = @_;
die "Can't create relationship without join condition" unless $cond;
$attrs ||= {};
- eval "use $f_class;";
+ eval "require $f_class;";
my %rels = %{ $class->_relationships };
$rels{$rel} = { class => $f_class,
cond => $cond,