Created
November 24, 2015 15:55
-
-
Save rgorsuch/9016a92f84ada9017506 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
use Term::ReadKey; | |
ReadMode 2; | |
print "# "; | |
chomp(my $phrase = <STDIN>); | |
print "\n" . join("", map { sprintf "\\%o", ord } split("", $phrase)) . "\n" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment