Open Tux opened 4 years ago
This is going to quite a tough one to specify. First, you need this form:
A CMP_OP B COMP_OP C
You don't care about A
. If you have CMP_OP B CMP_OP
, you've found it. But, what is B
? That could be almost anything.
10 < (1+2) < 40
10 < some_call() < 40
10 < time < 40
10 < grep( { defined } @list ) < 40
That can get pretty hairy, and I think the code needs a big refactoring to avoid the big if-else structure that is there now.
Stacked comparison was introduced in 5.31.10. If we exclude devel versions, it should report 5.32.0 instead of 5.006