From: Justin Guenther Date: Fri, 24 Mar 2006 07:06:05 +0000 (+0000) Subject: fixed a stupid typo X-Git-Tag: v0.06000~18 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=d2c26f3fdccf7aead269ab2d7c8c1d0c5b14b9a1;p=dbsrgits%2FDBIx-Class.git fixed a stupid typo --- diff --git a/lib/DBIx/Class/ResultSet.pm b/lib/DBIx/Class/ResultSet.pm index 9de8790..461a837 100644 --- a/lib/DBIx/Class/ResultSet.pm +++ b/lib/DBIx/Class/ResultSet.pm @@ -467,10 +467,10 @@ sub _collapse_result { if (defined $prefix) { @collapse = map { m/^\Q${prefix}.\E(.+)$/ ? ($1) : () - } keys %{$self->{collapse}}) + } keys %{$self->{collapse}} } else { @collapse = keys %{$self->{collapse}}; - ); + }; if (@collapse) { my ($c) = sort { length $a <=> length $b } @collapse;