Created
November 18, 2009 14:48
-
-
Save likhatskiy/237915 to your computer and use it in GitHub Desktop.
generate random string, length 8
This file contains 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
sub gen_name { | |
my $tt = [0..9,'a'..'z','A'..'Z']; | |
return join '', map {$tt->[rand @$tt]} 1..8; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment