in reply to
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.
A Programming Language, 1962
Programming the 1900 series in COBOL, 1974
Algorithms + Data Structures = Programs, 1976
The C Programming Language, 1978
System V - Interface definition, 1986
Z80 Assembly Language Programming, 1979
TheSOURCE User's Manual, 1979
The C Primer, 1983
Interactive Fortran 77, A Hands on Approach, 1984
Perl.1 man page, 1991
Results (349 votes),