Proper invocation
Peter Rabbitson [Sat, 9 Jan 2010 00:24:56 +0000 (00:24 +0000)]
lib/DBIx/Class/ResultSource.pm

index 541aa12..c3b9c74 100644 (file)
@@ -1583,7 +1583,7 @@ L<DBIx::Class::ResultSourceHandle>.
 =cut
 
 sub handle {
-    return new DBIx::Class::ResultSourceHandle({
+    return DBIx::Class::ResultSourceHandle->new({
         schema         => $_[0]->schema,
         source_moniker => $_[0]->source_name
     });