From: Damien Krotkine Date: Fri, 22 Apr 2011 20:49:29 +0000 (+0200) Subject: typo X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=29a9333c249bf4570896245684ef843c8c46f3cd;p=dbsrgits%2FDBIx-Class-Historic.git typo --- diff --git a/lib/DBIx/Class/ResultSet.pm b/lib/DBIx/Class/ResultSet.pm index 7289e8d..14d2c97 100644 --- a/lib/DBIx/Class/ResultSet.pm +++ b/lib/DBIx/Class/ResultSet.pm @@ -229,7 +229,7 @@ sub new { my $new_rs = $cd_rs->search([ { year => 2005 }, { year => 2004 } ]); # year = 2005 OR year = 2004 -In list context, C<< ->call() >> is called implicitly on the resultset, thus +In list context, C<< ->all() >> is called implicitly on the resultset, thus returning a list of row objects instead. To avoid that, use L. If you need to pass in additional attributes but no additional condition, @@ -639,7 +639,7 @@ sub _build_unique_query { Searches the specified relationship, optionally specifying a condition and attributes for matching records. See L for more information. -In list context, C<< ->call() >> is called implicitly on the resultset, thus +In list context, C<< ->all() >> is called implicitly on the resultset, thus returning a list of row objects instead. To avoid that, use L. See also L.