|Perl: the Markov chain saw|
(ichimunki) re: assigning to $_by ichimunki (Priest)
|on Feb 24, 2001 at 19:46 UTC||Need Help??|
Why? Again. Why?
That variable has so many side-effects from normal processing that assigning to it is likely to bite you rather quickly.
You can't use the impersonal pronouns (he/she/it in english) without first either using the actual noun, or unless the actual is strongly implied.
"It runs." -- um, what does?
"The dog has spots. It runs." -- now we know what runs.
"The dog has spots. The cat has stripes. It runs." -- the dog or the cat?
I don't know what others think, but I'd say you aren't solving a real problem by not using an actual variable name, but you might be causing some.
Good variable names give clues about what is in that data structure, and how it would normally be used. $_ gives no indication anything.