Created
September 17, 2012 21:01
-
-
Save smujohnson/3739743 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
use Term::ANSIColor qw(:constants); | |
use 5.010; | |
while (<STDIN>) { | |
my @words = split(' '); | |
foreach my $word (@words) { | |
s/c/k/; | |
s/ti/sj/; | |
s/ity$/itet/; | |
s/ol$/oll/; | |
} | |
my $line = join ' ', @words; | |
say YELLOW, $line, RESET; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment