Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re^4: Two simple code style advice questions

by runrig (Abbot)
on Jan 16, 2013 at 18:53 UTC ( #1013634=note: print w/replies, xml ) Need Help??


in reply to Re^3: Two simple code style advice questions
in thread Two simple code style advice questions

It would seem to me that most Unix commands return 0 when things are "OK."

BUT, (and I'm still trying to get the developers here to overcome this), in shell programming, zero IS true (e.g. consider && and || in things like cmd1 && cmd2 or cmd1 || cmd2, and Perl is not shell.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1013634]
help
Chatterbox?
[SuicideJunkie]: email tests, eh? I've gotten dinged for "you can't block this sender as spam, they're internal"
[Corion]: Heh - somebody in our marketing departement thought it was a great idea to use the alerting tool for company-wide outages to announce some new feature ;)

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (12)
As of 2017-05-24 14:40 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?