From: Matt S Trout Date: Fri, 15 Nov 2013 10:04:56 +0000 (+0000) Subject: never overload without fallback X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=8e97944c4cdc459e222cd3106919ced219c3677f;p=dbsrgits%2FData-Query.git never overload without fallback --- diff --git a/lib/Data/Query/ExprBuilder.pm b/lib/Data/Query/ExprBuilder.pm index 0c8ee7b..35c0187 100644 --- a/lib/Data/Query/ExprBuilder.pm +++ b/lib/Data/Query/ExprBuilder.pm @@ -43,6 +43,7 @@ use overload ( $op => sub { die "Can't use operator $op on a ".ref($_[0]) } } qw(<=> cmp x ^ ~) ), + fallback => 1, ); sub new {