K
kuldeep
Problem statement
Input from a file
010101
110010
010101
to
010
111
000
101
010
101
i.e. Row to column conversion
I was thinking of reading each line as a string and then spitting one
binary elemnt at a time to make big array which can be printed. But i
don't know how to
do that in perl. Is there any function to convert
binary string to hex
spit one bit at a time from a hex value
any better ideas?
thx
Kuldeep
Input from a file
010101
110010
010101
to
010
111
000
101
010
101
i.e. Row to column conversion
I was thinking of reading each line as a string and then spitting one
binary elemnt at a time to make big array which can be printed. But i
don't know how to
do that in perl. Is there any function to convert
binary string to hex
spit one bit at a time from a hex value
any better ideas?
thx
Kuldeep