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: v1.90_01~393 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=b18a95e4a14968fde1991ac8d849c95d95594920;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 cba900c..a7b0da5 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);