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

perl -we" $_=pop;y/a-z/b-za/for$x(1..pop);print" syntax error at -e line 1, near "$x("

Examine what is said, not who speaks.
"Efficiency is intelligent laziness." -David Dunham
"Think for yourself!" - Abigail
"Memory, processor, disk in that order on the hardware side. Algorithm, algorithm, algorithm on the code side." - tachyon

Replies are listed 'Best First'.
Re^3: Golf: ROT-n
by borisz (Canon) on Nov 09, 2004 at 21:01 UTC
    I know, I asked what is wrong with that line?

      The statement-modifier form of for/foreach doesn't allow you to specify a variable. You're forced to either use $_ or use the regular form with curlies. Sucks, don't it?

      "There is no shame in being self-taught, only in not trying to learn in the first place." -- Atrus, Myst: The Book of D'ni.