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

Re: how to unpack a C struct with length array preceding data array

by AnomalousMonk (Canon)
on May 28, 2013 at 04:25 UTC ( #1035514=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    >perl -wMstrict -MData::Dump -le
    "my $str = qq{\x05\x00\x08\x00\x05\x00\x06\x00Just Another pack Hacker
    +};
    ...
     dd \@ra;
    "
    [5, 8, 5, 6, "Just ", "Another ", "pack ", "Hacker"]
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1035514]
help
Chatterbox?
[Eily]: nope, Nodelet Settings doesn't let you move the XP Nodelet, CSS might
[marinersk]: That would mitigate the distraction/jangle issue, but then the information wouldn't be easy to find when it is populated. Plus, I don't currently see a way to move it, but I'm not done poking around on that point yet.
[marinersk]: Ah, you beat me to it.
[LanX]: as long as he has votes left, the nodelet remains
[LanX]: There is a very simple solution ...

How do I use this? | Other CB clients
Other Users?
Others meditating upon the Monastery: (9)
As of 2017-05-29 14:11 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?