I´ve read the term "signed char" in a script that i want to analyze. I
checked the cookbook and cpan and i still have no clue, what that could
mean.
I also post the sub  which includes the comment for better understanding
....
Maybe someone could give me an idea .. .(also about pack and unpack)
thx in advance
Stefan

#
# return status of ....
#
sub exitValue {
   my ($status) = @_ ;
   $status = $status >> 8 ; # divide by 256
   $status = unpack('c', pack( 'c', $status)) ; # declare as signed char
   return $status ;
}


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

Reply via email to