Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer

Re^2: Stumped by a pack/unpack problem

by crenz (Priest)
on Feb 22, 2005 at 08:14 UTC ( #433279=note: print w/replies, xml ) Need Help??

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.

Replies are listed 'Best First'.
Re^3: Stumped by a pack/unpack problem
by esskar (Deacon) on Feb 22, 2005 at 09:40 UTC
    sure 0x78 0x56 0x34 0x12

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://433279]
[Corion]: Yeah, I've updated the documentation to mention just that :)

How do I use this? | Other CB clients
Other Users?
Others romping around the Monastery: (5)
As of 2017-12-12 20:43 GMT
Find Nodes?
    Voting Booth?
    What programming language do you hate the most?

    Results (336 votes). Check out past polls.