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);