It's a trivial sub you can write yourself:
sub in_range { $_[1] <= $_[0] <= $_[2] }
In reply to Re^3: using smartmatch for range matching
by ikegami
in thread using smartmatch for range matching
by perltux
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |