switch(o->op_type) {
case OP_OR:
+ case OP_DOR:
return looks_like_bool(cLOGOPo->op_first);
case OP_AND:
case OP_ENTERSUB:
case OP_NOT: case OP_XOR:
- /* Note that OP_DOR is not here */
case OP_EQ: case OP_NE: case OP_LT:
case OP_GT: case OP_LE: case OP_GE:
|| cSVOPo->op_sv == &PL_sv_no)
return TRUE;
+ else
+ return FALSE;
+ case OP_FLOP:
+ /* Detect "..." flip-flop operator */
+ if (cUNOPo->op_first->op_flags & OPf_SPECIAL)
+ return TRUE;
+
/* FALL THROUGH */
default:
return FALSE;