From: Don Armstrong Date: Sat, 17 Jan 2009 00:50:59 +0000 (+0000) Subject: * bump lo by 26 X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=3438a2f1682867b0244721ca9b1bf15e4da2496f;p=bin.git * bump lo by 26 --- diff --git a/anamang b/anamang index 7a497d1..5ed3761 100755 --- a/anamang +++ b/anamang @@ -316,7 +316,7 @@ sub update_and_load_database { # in it, hello becomes axeeh, giddy acxxs my $fl = $l[0]; my $index = $l_o{$fl}; - $mapped_word = join('',map {$l_o[($l_o{$_} - $index) % 26]} @l); + $mapped_word = join('',map {$l_o[($l_o{$_} - $index + 26) % 26]} @l); $temp = $database->{rotation}{$mapped_word}; $temp = [] if not defined $temp; push @{$temp}, $word;