davyzhu
Advanced Member level 1
perl convert hex to binary
Hello all,
I want to write a perl script to convert hex data to binary,
the command maybe "perl hex2bin.pl hex_file bin_file".
E.g. The hex_file may be:
1234
89ab
and the converted bin_file will be:
0001001000110100
1000100110101011
Is it possible? Thanks!
DAVY
Hello all,
I want to write a perl script to convert hex data to binary,
the command maybe "perl hex2bin.pl hex_file bin_file".
E.g. The hex_file may be:
1234
89ab
and the converted bin_file will be:
0001001000110100
1000100110101011
Is it possible? Thanks!
DAVY