Created
November 14, 2016 15:12
-
-
Save zoffixznet/f7f556ccb4e1a1a3de5ccc5d70e961ae to your computer and use it in GitHub Desktop.
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
#!/usr/bin/env perl6 | |
sub MAIN (Str $file) { | |
for $file.IO.comb { | |
.print; | |
sleep /<[.!?]>/ ?? .30 !! /<[,;]>/ ?? .10 !! .05; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment