in reply to Golf: ROT-n
Edited by Chady -- code tags.
perl -we" $_=pop;y/a-z/b-za/for$x(1..pop);print"
syntax error at -e line 1, near "$x("
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.
PerlMonks, of course - how could you ask?
Games & puzzles
Arts & music
Whichever pays my bills
Results (264 votes). Check out past polls.