Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Re^2: How Critical is Critic?

by choroba (Cardinal)
on May 30, 2023 at 08:33 UTC ( [id://11152503]=note: print w/replies, xml ) Need Help??


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

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://11152503]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others meditating upon the Monastery: (5)
As of 2024-03-28 11:06 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found