in reply to Re^2: 2014 Code Golf Challenge
in thread 2014 Code Golf Challenge
I've not been able to make that work in any character set supported by any of my text editors
My console defaults to code page 850 (see the pic.)
What I did was print:
[0] Perl> print ~'2014';;
═¤╬╦
And then c&p the output back inside the string:
[0] Perl> print ~'═¤╬╦';;
2014
Presumably if you do the same thing on your local console you should be able to get the same effect although the displayed glyphs will be different. (Though I guess it won't work for Unicrap consoles :)
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: 2014 Code Golf Challenge
by tobyink (Canon) on Jan 01, 2014 at 14:46 UTC | |
|
Re^4: 2014 Code Golf Challenge
by educated_foo (Vicar) on Jan 01, 2014 at 17:12 UTC | |
by BrowserUk (Patriarch) on Jan 01, 2014 at 20:56 UTC |