Skip to content

Instantly share code, notes, and snippets.

@LunNova
Created May 1, 2012 15:48
Show Gist options
  • Select an option

  • Save LunNova/2569023 to your computer and use it in GitHub Desktop.

Select an option

Save LunNova/2569023 to your computer and use it in GitHub Desktop.
use warnings;
use strict;
$ARGV[0] =~ tr/[A-Z]/[a-z]/;
$ARGV[0] =~ tr/!£$%^&*()QWERTYUIOASDFGHJ\/`1234567890():?'.;, qwertyuiopasdfghjklzxcvbnm/QERTYUIOPASDFGHJKLZXCVBNM;\\zxcvbnm,.\/<>P:\[lpk"1234567890qwertyuioasdfghj/;
my @t = unpack "(A11)*", $ARGV[0];
for my $l(@t){
print "$l\n";
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment