Now you too can be 133t! Quickly change a string into the hyper-intelligent, ultra-cool language of the h4x0r underground!
#!/usr/bin/perl -w
use strict;
$_ = join( ' ', @ARGV );
my %words = (
'you' => 'joo',
'yay' => 'woot',
'rock' => 'roxor',
'rocked' => 'roxored',
'defeated' => 'roxored',
'beat' => 'roxored',
'hacked' => 'haxored',
'!' => '!!!',
'hacker' => 'haxor',
'sucked' => 'suxored',
'suck' => 'suxor',
'elite' => 'leet',
'dude' => 'dood'
);
foreach my $word ( keys %words ) {
s/$word/$words{$word}/ig;
}
tr/OoIiLlEeAa/0011113344/;
s/s\b/$1z/g;
print;