http://qs1969.pair.com?node_id=830071


in reply to Read structure in Perl

As others note, more details are needed to really give you the answer.

The general Perl way to unpack structures such as those typically read by fread in C may involve use of the unpack function.