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


in reply to Re: Golf: ROT-n
in thread Golf: ROT-n

ok, solving the problem, 58, or 59 if the ambiguity warning disturbs you.

# 1 2 3 4 5 # 3456789 123456789 123456789 123456789 123456789 123456789 print map{chr+(($_=$ARGV[0]+ord)>122?-26:0)+$_}split//,pop ; print map{chr((($_=$ARGV[0]+ord)>122?-26:0)+$_)}split//,pop ;

update: changed hiding code here, too

--
http://fruiture.de