in reply to Re: How Critical is Critic?
in thread How Critical is Critic?

Great reply++!

See also Perl::Critic::Community for a different set of perlcritic rules.

map{substr$_->[0],$_->[1]||0,1}[\*||{},3],[[]],[ref qr-1,-,-1],[{}],[sub{}^*ARGV,3]

Replies are listed 'Best First'.
Re^3: How Critical is Critic? [Perl::Critic::Community]
by kcott (Archbishop) on May 30, 2023 at 12:49 UTC

    Thanks for the comment and upvote.

    Thanks also for the link. I checked through all of it and there's only three things I'm not compliant with:

    • I never really liked FindBin; thankfully, I don't need it that often. I'm pleased to have found some alternatives.
    • I agree with issues noted about JSON and JSON::XS: I'll be happy to trial JSON::MaybeXS.
    • Typing 'while (<$fh>) {' is almost muscle-memory; I'll have to train muscles to add 'my $line ='. :-)

    I've been getting questions about using some form of perlcritic at $work. Although arguing against full-blown Perl::Critic usage, I think Perl::Critic::Community is probably something I can get behind. So, that link was very useful and thanks again.

    — Ken