Agreed!
After I posted I was rethinking along those lines. Perl really makes it too easy to missuse globals. Anytime we are writing modules proper technique demands that we don't use any globals but there that default input/output space thing there just waiting to be defaulted to. I know that in the past I haven't thought about it much. Now that I have thought about I'm thinking I ought to write a test I could use on all modules in my system to check for abuse of $_.
But then another part of me says, "It's just that, a global." Anyone can use it. Who's fault is it. The guy who use it in a subroutine or me who relied on it not being used?
I'm in a quandry.
Quandered in the Monastary; starbolin
In reply to Re^5: cpan install($_) doesn't work in loop, but normal lexical var does
by starbolin
in thread cpan install($_) doesn't work in loop, but normal lexical var does
by tphyahoo
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |