Created
October 22, 2013 02:07
-
-
Save brianmed/7094160 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 IO::String; | |
| $io = IO::String->new("one\ntwo\nthree\nfour\nfive\n"); | |
| $line = (<$io>)[int(rand(5))]; | |
| print($line); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment