| You are the 2646th visitor to this page since May 30, 2001. |
|---|
This is to be considered work-in-progress, which is why there might not be to many entries here initially.
pack and unpack to (1)
pack the hex string into a binary structure and then (2) unpack the
binary structure into a list of unsigned char values:
$hex_string = "000102031F";
$STRING = pack("H*", $hex_string); # (1)
@VALUE = unpack("C*", $STRING); # (2)