in reply to Reading Hex file data
Welcome to the Monastery. This looks like a specification for a program, which part are you stuck on, and what have you tried?
The following links are useful if you are learning Perl: