Help for this page

Select Code to Download


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