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

Re^2: Unpack 64 bit value

by DrHyde (Prior)
on Sep 10, 2009 at 11:04 UTC ( #794545=note: print w/replies, xml ) Need Help??


in reply to Re: Unpack 64 bit value
in thread Unpack 64 bit value

This is just *so* wrong. Endianness is irrelevant to whether q is a valid format.

Replies are listed 'Best First'.
Re^3: Unpack 64 bit value
by Marshall (Abbot) on Sep 10, 2009 at 12:22 UTC
    I don't have access to a 64 bit platform.. "Endianness" is always relevant as there is fundamental difference between say how Intel and say Motorola machines work.

    This goes to the hardware level about how data is actually stored in sequential memory locations and is enforced by the hardware. If I do a binary byte dump to disk, of say array of 32 bit values on a VAX or Intel platform, nothing is gonna change the fact that this same array will look different on the disk from a binary byte dump from a Motorola platform.

      The OP indicates that he is getting a syntax/compile-time error. Endianness doesn't matter at that point, which is what DrHyde indicated. And the likely explanation for the error is provided by almut in 794510.

      Elda Taluta; Sarks Sark; Ark Arks

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://794545]
help
Chatterbox?
[LanX]: oh they have sleper cells everywhere
[robby_dobby]: LanX: Not really, the only problems would be from religious divides. Coptics/Moslems/ Kurds/Jews
[erix]: Zzz
[erix]: Coptics? :)
[robby_dobby]: erix: Coptic Christians in Egypt
[choroba]: Robocoptic!
[erix]: I like Coptics :)
[LanX]: Copts
[erix]: sorry - just pulling your leg
[robby_dobby]: erix: It's a little late for that :-)

How do I use this? | Other CB clients
Other Users?
Others scrutinizing the Monastery: (17)
As of 2017-04-24 16:10 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    I'm a fool:











    Results (442 votes). Check out past polls.