Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Re^2: Beware of global! And bless the local!

by alexander_lunev (Pilgrim)
on Dec 13, 2019 at 10:22 UTC ( [id://11110062]=note: print w/replies, xml ) Need Help??


in reply to Re: Beware of global! And bless the local!
in thread Beware of global! And bless the local!

Perl::Critic is a tool that I should adopt. On the one side there's laziness - oh, instead of just write this little thing I would spend it on this and that to make sure it's all right. But on the other side - there's so much ahead in this never-ending journey!

  • Comment on Re^2: Beware of global! And bless the local!

Replies are listed 'Best First'.
Re^3: Beware of global! And bless the local!
by Anonymous Monk on Dec 13, 2019 at 13:14 UTC
    Perl::Critic is a tool that I should adopt. On the one side there's laziness

    I find the --gentle and --stern settings useful to reveal excessive laziness, and the kind of cruft that accumulates during refactoring like stray whitespaces or the wrong type of quote chars. While --harsh --cruel and --brutal are useful as training wheels for advanced techniques, or enforcing code standards on hired guns, and as a form of pure pedantic entertainment for anyone who loves TIMTOWTDI.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (1)
As of 2024-04-25 01:57 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found