http://qs321.pair.com?node_id=433279


in reply to Re: Stumped by a pack/unpack problem
in thread Stumped by a pack/unpack problem

Hmm. That's an interesting result. Can you give me the output of

print join(" ", map { sprintf "%#02x", $_ } unpack("C*",pack("L",0x12345678))), "\n";

on your system? XS won't be possible, by the way, as this is intentionally a pure-perl implementation.