From: Matt S Trout Date: Sat, 14 Apr 2012 02:54:44 +0000 (+0000) Subject: last direct hash access (I think) X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=d17f527f40d5126c57a87bdeb56a342049cc0a79;p=dbsrgits%2FData-Query.git last direct hash access (I think) --- diff --git a/lib/Data/Query/Renderer/SQL/Naive.pm b/lib/Data/Query/Renderer/SQL/Naive.pm index 1da16b9..b8ad979 100644 --- a/lib/Data/Query/Renderer/SQL/Naive.pm +++ b/lib/Data/Query/Renderer/SQL/Naive.pm @@ -123,7 +123,7 @@ sub _render_operator { $op->{$self->_operator_type} = $self->_convert_op($dq); } my $op_name = $op->{$self->_operator_type}; - if (my $op_type = $self->{simple_ops}{$op_name}) { + if (my $op_type = $self->simple_ops->{$op_name}) { return $self->${\"_handle_op_type_${op_type}"}($op_name, $dq); } elsif (my $meth = $self->can("_handle_op_special_${op_name}")) { return $self->$meth($dq);