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

Re: Unpack 64 bit value

by Marshall (Canon)
on Sep 10, 2009 at 08:41 UTC ( [id://794511]=note: print w/replies, xml ) Need Help??


in reply to Unpack 64 bit value

This node falls below the community's threshold of quality. You may see it by logging in.

Replies are listed 'Best First'.
Re^2: Unpack 64 bit value
by DrHyde (Prior) on Sep 10, 2009 at 11:04 UTC
    This is just *so* wrong. Endianness is irrelevant to whether q is a valid format.
      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
Domain Nodelet?
Node Status?
node history
Node Type: note [id://794511]
help
Chatterbox?
and the web crawler heard nothing...

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

    No recent polls found