Skip to content

ironcamel/Syntax-Feature-In

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NAME

Syntax::Feature::In - provides an "in" operator as a replacement for smartmatch

VERSION

version 0.0003

SYNOPSIS

use syntax 'in';

my $found = 42 |in| [ 1 .. 100 ];

DESCRIPTION

This modules imports the in operator. It can be used as in infix operator:

$foo |in| $bar

Or in a more traditional way:

in->($foo, $bar)

It does a simplified version of smartmatch as described in match::simple.

SEE ALSO

AUTHOR

Naveed Massjouni naveed@vt.edu

COPYRIGHT AND LICENSE

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.

About

provides an "in" operator as a replacement for smartmatch

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages