The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Perl::Critic::Policy::Operators::ProhibitSmartmatch - avoid using explicit smartmatching via ~~ operator

DESCRIPTION

Smartmatch operator is considered experimental, see "Smartmatch Operator" in perlop.

    if ($foo ~~ [ $bar ]) {
        say 'No!';
    }

AUTHOR

Jan Holcapek <holcapek@gmail.com>, who was heavily inspired by the work of hisaichi5518 <hisada.kazuki@gmail.com>