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

Re: 20 most important Perl Best Practices

by runrig (Abbot)
on Aug 22, 2012 at 20:54 UTC ( #989142=note: print w/replies, xml ) Need Help??


in reply to 20 most important Perl Best Practices

13) Use unless and until as little as possible.

I wouldn't say that. I would say "Don't use unless with elsif/else blocks". That's just ridiculous.

And don't use it in combination with and/or logic because it requires yet another mental step of negation at the end.

  • Comment on Re: 20 most important Perl Best Practices

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://989142]
help
Chatterbox?
and !@monks...

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (5)
As of 2017-11-19 19:00 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    In order to be able to say "I know Perl", you must have:













    Results (282 votes). Check out past polls.

    Notices?