From: Matt S Trout Date: Sun, 17 Nov 2013 04:09:15 +0000 (+0000) Subject: literals on the other side of = are acceptable for a fixed condition X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=eea7bfbbd5ff20cc805ce0f432a4a3025d7c9432;p=dbsrgits%2FDBIx-Class.git literals on the other side of = are acceptable for a fixed condition --- diff --git a/lib/DBIx/Class/ResultSource.pm b/lib/DBIx/Class/ResultSource.pm index e9b0f25..d23497c 100644 --- a/lib/DBIx/Class/ResultSource.pm +++ b/lib/DBIx/Class/ResultSource.pm @@ -1547,7 +1547,7 @@ sub _extract_fixed_values_for { return +{ map { is_Value($fixed->{$_}) ? ($_ => $fixed->{$_}{value}) - : () + : (is_Literal($fixed->{$_}) ? ($_ => \($fixed->{$_})) : ()) } keys %$fixed }; }