And certainly better readable.
Saying so, having an in LIST operator wouldn't harm, but that's not the demonstrated use case.
Cheers Rolf
(addicted to the Perl Programming Language :)
see Wikisyntax for the Monastery
In reply to Re^2: using smartmatch for range matching
by LanX
in thread using smartmatch for range matching
by perltux
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |