This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Typo in op.c
[perl5.git] / op.c
diff --git a/op.c b/op.c
index 2185c25..3828894 100644 (file)
--- a/op.c
+++ b/op.c
@@ -8472,7 +8472,7 @@ Perl_peep(pTHX_ register OP *o)
            UNOP *refgen, *rv2cv;
            LISTOP *exlist;
 
-           if ((o->op_flags && OPf_WANT) != OPf_WANT_VOID)
+           if ((o->op_flags & OPf_WANT) != OPf_WANT_VOID)
                break;
 
            if ((o->op_private & ~OPpASSIGN_BACKWARDS) != 2)