Created
September 27, 2014 15:21
-
-
Save libitte/3dc3574673b84ac9c7c2 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
| #!/usr/bin/env perl | |
| use strict; | |
| use warnings; | |
| use List::Util qw(shuffle); | |
| #ruby | |
| #('a'..'z').to_a.shuffle[0..7].join | |
| my @shuffled = shuffle ('a'..'z'); | |
| print join '', splice @shuffled, 0, 8; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment