Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Re^2: unpack into arrayrefs?

by ikegami (Patriarch)
on Feb 22, 2022 at 17:15 UTC ( [id://11141555]=note: print w/replies, xml ) Need Help??


in reply to Re: unpack into arrayrefs?
in thread unpack into arrayrefs?

That should be a, not A. A will remove trailing 0x20 bytes.


S might be correct even on big-endian machines.

  • Use S for native endianness.
  • Use S< or v for little-endian.
  • Use S> or n for big-endian.

If the OP was using a little-endian machine, we can only rule out the last one from the info provided.

See Mini-Tutorial: Formats for Packing and Unpacking Numbers for a convenient table of pack/unpack numeric formats.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others avoiding work at the Monastery: (2)
As of 2024-04-20 12:15 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found