Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Re: pack() Question - DATA_BLOB structure

by jbt (Chaplain)
on Jul 08, 2009 at 03:47 UTC ( [id://778109]=note: print w/replies, xml ) Need Help??


in reply to pack() Question - DATA_BLOB structure

Looks like a 32 bit unsigned integer followed by a pointer to an fixed length string. What about the following line of code?
my $data_blob = pack("LP", $data);

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others sharing their wisdom with the Monastery: (4)
As of 2024-04-16 14:33 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found