XP is just a number | |
PerlMonks |
Re: Boolean (was Boolian) operators defy my understanding...by philcrow (Priest) |
on Jun 20, 2007 at 14:38 UTC ( [id://622261]=note: print w/replies, xml ) | Need Help?? |
system is odd. It returns the exit status. By tradition, status zero means success (which happens to be false), while failures are reported by a number that you can look up to see what went wrong (these are non-zero and therefore true).
Sometimes it helps to name the return value:
Phil
The Gantry Web Framework Book is now available.
In Section
Seekers of Perl Wisdom
|
|