actually $binaddr is read from a hash. so the value is something like initialvalue = '0100010' which i read into $binaddr. So i am appending 0b while passing it to hex function. Looks like the format of the data extracted from the hash cannot be directly sent to hex function. Any idea?
In reply to Re^2: Converting Binary to hex
by Himaja
in thread Converting Binary to hex
by Himaja
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |