There's more than one way to do things | |
PerlMonks |
Re^2: ROT8000 implementation?by LanX (Saint) |
on Oct 15, 2021 at 23:47 UTC ( [id://11137616]=note: print w/replies, xml ) | Need Help?? |
Hnngngng ... it's a misnomer AFAIS
So not just a simple rotate by 0x8000 = 2^15! One needs
This JS implementation should be a good start for a Perl port https://github.com/rottytooth/rot8000/blob/main/rot8000.js You can use ord and chr to convert to codepoint and back HTH!
Cheers Rolf
In Section
Seekers of Perl Wisdom
|
|