- or download this
use strict;
use warnings;
...
chr( ( ord($1) - ord('a') + $rot + 26 ) % 26 + ord('a') )
/ge;
print("$message\n");
- or download this
use strict;
use warnings;
...
chomp(my $message = lc(<>));
eval "\$message =~ tr/$src/$dst/;";
print("$message\n");
- or download this
use strict;
use warnings;
...
chomp(my $message = lc(<>));
$message = $tr->($message);
print("$message\n");