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


in reply to Golf: ROT-n

I couldn't find a shorter solution for the character-based approach. So this is different, maybe it can be made even shorter than 54.

# 1 2 3 4 5 # 3456789 123456789 123456789 123456789 123456789 123456789 eval'tr/a-z/'.chr(97+shift).'-za-z/for@ARGV;print pop'

update: changed spoiler hiding to standard way.

--
http://fruiture.de