On 5/1/07, Vladimir Lemberg <[EMAIL PROTECTED]> wrote:
snip
This is not working. Nothing is printing to the log file when I'm simulating -3 
code.
If I print $?, it shown 65280.
snip

from perldoc -f system:
   if ($? == -1) {
        print "failed to execute: $!\n";
   }
   elsif ($? & 127) {
        printf "child died with signal %d, %s coredump\n",
            ($? & 127),  ($? & 128) ? 'with' : 'without';
   }
   else {
        printf "child exited with value %d\n", $? >> 8;
   }

--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/


Reply via email to