Created
January 29, 2010 01:44
-
-
Save mwalling/289373 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
# vim:ft=perl | |
use strict; | |
use warnings; | |
use Acme::LeetSpeak; | |
open INFILE, "messages.properties" or die $!; | |
open OUTFILE, ">messages_leet.properties" or die $!; | |
while(<INFILE>) { | |
my $line = $_; | |
my ($key, $eng_val) = split /=/, $line; | |
my $leet_val = leet($eng_val); | |
print OUTFILE $key . "=" . $leet_val; | |
} | |
close INFILE; | |
close OUTFILE; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment