This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
straighten some code to avoid NeXT compiler bugs (from
[perl5.git] / pp_ctl.c
index a61060a..49db741 100644 (file)
--- a/pp_ctl.c
+++ b/pp_ctl.c
@@ -1026,7 +1026,10 @@ PP(pp_range)
 {
     if (GIMME == G_ARRAY)
        return cCONDOP->op_true;
-    return SvTRUEx(PAD_SV(PL_op->op_targ)) ? cCONDOP->op_false : cCONDOP->op_true;
+    if (SvTRUEx(PAD_SV(PL_op->op_targ)))
+       return cCONDOP->op_false;
+    else
+       return cCONDOP->op_true;
 }
 
 PP(pp_flip)