NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.
All the Perl that's Practical to Extract and Report
Stories, comments, journals, and other submissions on use Perl; are Copyright 1998-2006, their respective owners.
*bleep* (Score:2)
Wrong.
Re:*bleep* (Score:2)
I'm assuming you saw "process" and thought "function", which can indeed vary wildly.
Reply to This
Parent
Re:*bleep* (Score:2)
Correct. There are many possible failures but only one possible success: EXIT_SUCCESS from , and in Unix/Linux EXIT_SUCCESS is defined to be zero. Easily testable in shell by:
ls
ls
Re:*bleep* (Score:2)
Re:*bleep* (Score:2)
Re:*bleep* (Score:1)
false?See, it's not so simple...
Re:*bleep* (Score:2)
Err... nope. Processes and functions are vastly different. A function can have any return value it feels like, whereas a process should have a known set of exit conditions and values.
I've been writing both for quite sometime ;)