http://qs321.pair.com?node_id=639074


in reply to Translate big endian C to perl on x86 of binary file into structure

Convert::Binary::C might be useful. It'll help with not just your endianess issues, but your alignment issues.