On Mon, 12 Nov 2007, Mikhael Goikhman wrote: > If your program does exit(0) on success, then just check for non-zero $? > to catch a failure. If the program may exit with something else and you > don't want to consider it a failure, check for non-zero "$? & 127" to > catch abnormal exit (like "kill -9" or other signal or "Out of memory"). > This should be portable enough.
Thanks. -- Shlomo Yona [EMAIL PROTECTED] http://yeda.cs.technion.ac.il/~yona/ _______________________________________________ Perl mailing list [email protected] http://perl.org.il/mailman/listinfo/perl
