TorgoX sburkeNO@SPAMcpan.org http://search.cpan.org/~sburke/ "Il est beau comme la retractilité des serres des oiseaux rapaces [...] et surtout, comme la rencontre fortuite sur une table de dissection d'une machine à coudre et d'un parapluie !" -- Lautréamont
well, the actual block in the foreach block involved more stuff going on, and calls to different subs. And I'm never happy calling subs when I have something important in $_ -- because if the subs later are rewritten to incidentally clobber $_, I'll have a hard time figuring out the resulting bug. And I'm just not that big into assigning/aliasing to $_ in general, except for tiny tiny things like:
for($k,$v) {tr/\cm\cj//d; s/^\s+//; s/\s+$//; }
Why not use $_? (Score:1)
--
Esli epei eto cumprenan, shris soa Sfaha.
Aettot ibrec epesecoth, spakhea scrifeteis.
Re:Why not use $_? (Score:1)
for($k,$v) {tr/\cm\cj//d; s/^\s+//; s/\s+$//; }