For us to be able to help you, you'll have to tell us more.
I also have the structure available which tells me what the first 8 bytes are, then the next 4 bytes and so on.
A good start would be to show us what that "structure" looks like. What form is it in? How do you get it into your perl program?
I tried doing it through unpack function available in perl but i am stuck on how to get the first 8 bytes then the next 8 bytes and so on..
If you show us what you tried (post your non-working code here (don't forget the <code></code> tags), then it serves as a starting point from which we can guide you.
In reply to Re: Reading Binary files in Perl
by BrowserUk
in thread Reading Binary files in Perl
by pranjali_malode
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |