Is there such a thing? The equivalent of a <= expr <= b, or in SQL parlance expr BETWEEN a AND b, where expr is evaluated only once
a <= expr <= b
expr BETWEEN a AND b
expr
you could use Range operator + smart macthing:
if($expr ~~ [$a..$b])