last direct hash access (I think)
Matt S Trout [Sat, 14 Apr 2012 02:54:44 +0000 (02:54 +0000)]
lib/Data/Query/Renderer/SQL/Naive.pm

index 1da16b9..b8ad979 100644 (file)
@@ -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);