fix think-o
David Kamholz [Fri, 4 Aug 2006 08:56:10 +0000 (08:56 +0000)]
lib/DBIx/Class/AccessorGroup.pm

index 8035725..56bcf1b 100644 (file)
@@ -316,7 +316,7 @@ sub set_component_class {
   if ($@) {
       my $val_path = $val;
       $val_path =~ s{::}{/}g;
-      carp $@ unless $@ =~ /^Can't locate $val_path/;
+      carp $@ unless $@ =~ /^Can't locate $val_path\.pm/;
   }
   if (ref $self) {
       return $self->{$set} = $val;