in reply to Switch depreciated?

As are most things, Perl::Critic is configurable. All you have to do is set the policy.

One of the things you'll find is that the default policy is probably no longer the best one. On IRC, the many questions and answers have allowed people there to build up their own policy in Perl::Critic::Freenode. I'd suggest you look into that.

On Switch, though, it's frowned upon by most because it uses source filters instead of pluggable keywords. You can see the reasons in the description of Switch::Plain that was mentioned above.

So, let's just pretend that Switch really is deprecated.