Thread Tiefe Hash Strukturen aus Config bilden: Und warum while(<FH>) gefährlich ist
(62 answers)
Opened by bloonix at 2006-05-09 17:07
[quote=pq,10.05.2006, 11:35]
Code: (dl
)
perl -we'$_="test";print while <>;print "\$_:$_\n"' aber wird $_ durch die while-Schleife nicht überschrieben? print $_:$_ müsste doch eigentlich "b:b" ausgeben, weil "b" das letzte Zeichen ist, welches du eingegeben hast und in $_ stand... wo ist hier mein denkfehler? What is a good module? That's hard to say.
What is good code? That's also hard to say. One man's Thing of Beauty is another's man's Evil Hack. |