gold_kiss
Full Member level 4
Perl script help
Ok I am reading a binary file and storing its content into a variable.
I am doing it in this way
open BIN_FILE (" my.bin")
while (<BIN_FILE>)
{
my_bin .= $_;
}
so my_bin has got entire contents of my.bin file
What I need to do is to store these contents in an 32 bit wide array locations.
Can any one help me with this.
Cheers,
Gold_kiss
Ok I am reading a binary file and storing its content into a variable.
I am doing it in this way
open BIN_FILE (" my.bin")
while (<BIN_FILE>)
{
my_bin .= $_;
}
so my_bin has got entire contents of my.bin file
What I need to do is to store these contents in an 32 bit wide array locations.
Can any one help me with this.
Cheers,
Gold_kiss