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);
[download]
Comment on
Re: pack() Question - DATA_BLOB structure
Download
Code
In Section
Seekers of Perl Wisdom