Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things

Re: Request for Perl::Critic Testimonials

by diotalevi (Canon)
on Jul 18, 2006 at 01:15 UTC ( #561900=note: print w/replies, xml ) Need Help??

in reply to Request for Perl::Critic Testimonials

Ever since starting to clean up some of my ~/bin to be Perl::Critic compliant I've found that I make more syntax errors and my code is harder to read. I suppose those two go together. There seem to be a small number of rules like ' ' -> q that seem designed just to make things difficult to parse. My tool progression went from having automatic syntax checks to automatic lint checks to automatic Perl::Critic tests. The transition away from things that actually compile the source started letting me leave dumb syntax bugs in my code. Bummer.

I was already in a sweet spot where I only ever saved syntactically correct things. I might have other bugs but at least I'd always pass perl's compilation.

I figure I'm going to have to either make P::C do Lint as well (which happens to include a syntax check) or uh... I dunno. Something. I figure having P::C + Lint is the best of both worlds because that's really P::C + Lint + Syntax. The only problem I have with Lint right now is that I haven't written in pragmas to disable it's checks in contexts where they're inappropriate.

⠤⠤ ⠙⠊⠕⠞⠁⠇⠑⠧⠊

  • Comment on Re: Request for Perl::Critic Testimonials

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://561900]
[choroba]: When working at a bank, we had a colleague who entered mining early enough to have lots of bitcoins. He used to say "I go to work just because I'm too bored at home."
[Corion]: choroba: Aah, no, I do it because of the money :)
[choroba]: And when asked "How are you?" in the morning, his reply was usually "I don't know, haven't checked the bitcoin rates yet."
[Corion]: Heh - if I defined myself through the money I make, I would now only be 80% myself :-D
[choroba]: :-D
LanX emacs is the oldest textadventure ...

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (4)
As of 2017-09-21 15:29 GMT
Find Nodes?
    Voting Booth?
    During the recent solar eclipse, I:

    Results (249 votes). Check out past polls.