Created
June 3, 2013 03:40
-
-
Save jadeallenx/5696021 to your computer and use it in GitHub Desktop.
My voice is my passport. Verify me.
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
#!/usr/bin/env perl | |
use 5.018; | |
use charnames (); | |
binmode(STDOUT, ":utf8"); | |
my $upper_prefix = "CIRCLED LATIN CAPITAL LETTER"; | |
my $lower_prefix = "CIRCLED LATIN SMALL LETTER"; | |
my $password = "MyNameIsWernerBrandes"; # or whatever | |
say join "", map {; charnames::string_vianame($_) } | |
map {; /[A-Z]/ ? "$upper_prefix \U$_" : "$lower_prefix \U$_" } split //, $password; | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment