in reply to hexadecimal division
In Perl, bitwise operators like ^ are overloaded to work with strings or numbers. Division only works with numbers, so you have to force your string to a number with ord, then force it back to a string with chr.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: hexadecimal division
by LanX (Saint) on Dec 16, 2017 at 23:31 UTC | |
by Anonymous Monk on Dec 16, 2017 at 23:46 UTC | |
by LanX (Saint) on Dec 17, 2017 at 00:04 UTC |