From: Matt S Trout Date: Wed, 27 Feb 2019 06:23:49 +0000 (+0000) Subject: remove a literal "" in favour of undef X-Git-Tag: v2.000000~3^2~414 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=41e16d4fde38c70c3ef76e487c2c813c92380690;p=dbsrgits%2FSQL-Abstract.git remove a literal "" in favour of undef --- diff --git a/lib/SQL/Abstract.pm b/lib/SQL/Abstract.pm index 57186d2..092598b 100644 --- a/lib/SQL/Abstract.pm +++ b/lib/SQL/Abstract.pm @@ -691,7 +691,7 @@ sub _expand_expr_hashpair { sort keys %$v ] }; } - return { -literal => [ '' ] } unless keys %$v; + return undef unless keys %$v; my ($vk, $vv) = %$v; $vk =~ s/^-//; $vk = lc($vk);