http://www.perlmonks.org?node_id=549884


in reply to Re: simple letter substitution according to hash
in thread simple letter substitution according to hash

With the following:
%codewheel = ( A => 'B', B => 'C', 'C' => 'D' );

Your code changes 'ABC' --> 'BBC' --> 'CCC' --> 'DDD' and so on.

Replies are listed 'Best First'.
Re: That doesn't work.
by Jasper (Chaplain) on May 18, 2006 at 14:18 UTC
    Well spotted. That was stupid of me. I did say I didn't recommend it, didn't I? :)