Skip to content

Instantly share code, notes, and snippets.

@smujohnson
Created September 17, 2012 21:01
Show Gist options
  • Save smujohnson/3739743 to your computer and use it in GitHub Desktop.
Save smujohnson/3739743 to your computer and use it in GitHub Desktop.
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