http://qs1969.pair.com?node_id=11155861


in reply to Re^2: using smartmatch for range matching
in thread using smartmatch for range matching

It's a trivial sub you can write yourself:

sub in_range { $_[1] <= $_[0] <= $_[2] }