Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Re: Data munging - in, out and something in between

by rodion (Chaplain)
on Apr 24, 2007 at 02:58 UTC ( [id://611637]=note: print w/replies, xml ) Need Help??


in reply to Data munging - in, out and something in between

You may find your problem by just putting together a snippet of code for us to look at, as Grandfather suggests, but if you don't find it, this forum will then have something to work with. As an additional way to characterize the problem, you might try the following command lines:
perl -e print(pack('II',0x085c,0x5c080000)); > temp.pk perl -e "print(pack('NN',map($_*2,unpack('II',<>))));" > temp2.bk perl -e "printf('%8x:%8x',unpack('NN',<>));" temp2.pk produces --> 10b8:b8100000 (as expected)
They look like they do what you describe, but the numbers come out as expected, at least on my windows box. If the numbers come out right on your system, then take a look at what you're doing that's different from the examples, or show us and someone here will certainly take a look at it.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others chanting in the Monastery: (3)
As of 2024-04-25 23:34 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found