in reply to Re^2: using smartmatch for range matchingin thread using smartmatch for range matching
It's a trivial sub you can write yourself:
sub in_range { $_[1] <= $_[0] <= $_[2] } [download]