Syntax::Feature::In - provides an "in" operator as a replacement for smartmatch
use syntax 'in'; my $found = 42 |in| [ 1 .. 100 ];
This modules imports the
in operator. It can be used as in infix operator:
$foo |in| $bar
Or in a more traditional way:
It does a simplified version of smartmatch as described in match::simple.
Naveed Massjouni <email@example.com>
This software is copyright (c) 2014 by Naveed Massjouni.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.