Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot

Re^2: Golf: ROT-n

by fruiture (Curate)
on Nov 09, 2004 at 17:15 UTC ( #406395=note: print w/ replies, xml ) Need Help??

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


Comment on Re^2: Golf: ROT-n
Download Code

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://406395]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (6)
As of 2014-12-19 03:40 GMT
Find Nodes?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?

    Results (70 votes), past polls