Where you print $exit_value ???

>Hi,
>I have a problem with a program I did in Perl :
>I use the function system(@args) to launch an external command,
>and then get the exit value : $exit_value = $? >> 8.
>That runs fine, the problem is the exit value can be -1, so $exit_value
>should be a signed char. When the program returns -1, and I print
>$exit_value, I get 255...so I guess either it's an unsigned char, or an
>integer...is there a way to declare ma variable as a signed char?
>Thanks
>
>
>
>




-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to