Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

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?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://433279]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (5)
As of 2023-06-05 12:53 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    How often do you go to conferences?






    Results (24 votes). Check out past polls.

    Notices?