Smartmatch (denoted by ~~) is a Perl operator that does "smart" comparisons of operands with possibly differing types (e.g. string and array).
In an SO answer daxim states: @array ~~ $scalar is true when $scalar is in @array to which draegtun replies: From 5.10.1+ …
perl terminology smartmatchI just installed Perl 5.18, and I get a lot of warnings like this, given is experimental at .\[...].pl line [...]. when …
perl smartmatch