except that the number can be negative.( $val ) = unpack( "N", $raw )
The code should be platform neutral.
Originally posted as a Categorized Question.
In reply to How do I unpack a signed long in big endian? by aspangler
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |