in reply to Re: "$_" vs. $_
in thread "$_" vs. $_
I feel this is not a Golden rule. Setting $_ has its uses, especially when one would like to do regex operations not wishing to declare intermediate variables. It is generally wise to localise $_ before setting it. A good example of this kind of usage can be found here.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: "$_" vs. $_
by ikegami (Patriarch) on Apr 08, 2007 at 07:24 UTC | |
by bsdz (Friar) on Apr 08, 2007 at 08:40 UTC | |
by ikegami (Patriarch) on Apr 08, 2007 at 15:39 UTC | |
|