p4raw-id: //depot/perl@17932
}
if (first->op_type == OP_CONST) {
if (ckWARN(WARN_BAREWORD) && (first->op_private & OPpCONST_BARE)) {
- if (first->op_private & OPpCONST_BARE)
+ if (first->op_private & OPpCONST_STRICT)
no_bareword_allowed(first);
else
Perl_warner(aTHX_ packWARN(WARN_BAREWORD), "Bareword found in conditional");