http://www.perlmonks.org?node_id=1013634


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.