Open eserte opened 3 years ago
It seems that the problem is that "try" is now a perl bareword, even if the new experimental "try" feature is not enabled. This means that the check in https://metacpan.org/source/FLIMM/Perl-Critic-Lokku-0.003/lib/Perl/Critic/Policy/TryTiny/ProhibitExitingSubroutine.pm#L52 does not work anymore --- is_function_call() returns falls if is_perl_bareword() returns true.
See also https://metacpan.org/source/RURBAN/B-Keywords-1.22/lib/B/Keywords.pm#L455-459
Please note that Perl::Critic::Lokku has been deleted from CPAN.
FLIMM/Perl-Critic-Lokku-0.003.tar.gz does not have pass reports since perl 5.33.7. See http://matrix.cpantesters.org/?dist=Perl-Critic-Lokku%200.003
On my systems t/run.t fails like this: