From: Peter Rabbitson Date: Sat, 9 Jan 2010 00:24:56 +0000 (+0000) Subject: Proper invocation X-Git-Tag: v0.08116~64^2~4 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=24c349e88b0ab5c3c190f7da92db4bcd6235e394;p=dbsrgits%2FDBIx-Class.git Proper invocation --- diff --git a/lib/DBIx/Class/ResultSource.pm b/lib/DBIx/Class/ResultSource.pm index 541aa12..c3b9c74 100644 --- a/lib/DBIx/Class/ResultSource.pm +++ b/lib/DBIx/Class/ResultSource.pm @@ -1583,7 +1583,7 @@ L. =cut sub handle { - return new DBIx::Class::ResultSourceHandle({ + return DBIx::Class::ResultSourceHandle->new({ schema => $_[0]->schema, source_moniker => $_[0]->source_name });