define smartmatch between two ranges
define smartmatch between two ranges

masak++ is correct that this is difficult to write any other way.

prammer/specs,tokuhirom/specs,tokuhirom/specs,perl6/specs,tokuhirom/specs,prammer/specs,perl6/specs,prammer/specs