|Perl Monk, Perl Meditation|
"$_" vs. $_by argv (Pilgrim)
|on Apr 07, 2007 at 18:07 UTC||Need Help??|
argv has asked for the
wisdom of the Perl Monks concerning the following question:
This simple program illustrates the problem:
The line in question is the last one. As it is, the output is "hello: hello". But if I put the $_ in quotes:
You get the expected behavior. why?