Oh Wise and Mighty Perl Monks,
Bit of a n00b here.
I have a binary input and would like to use that input to reference a block of information. A mock example: 1111 = ABCD. If given 0101 it would return B, D. If given 1001 it would return A, D.
I thought I could have the script go bit by bit: x1xx => print B. But I don't know the best way to do that.
Please advise,
Thanks!
In reply to Reading Binary by BoulderBuff64
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |