Although I can see the point of this to determine the scope of $_, I hope to never see code like this in production. If you want to have separate variables for nested loops, name the darn things and make the maintainer's life a little easier...
But then again, I just spent some time today tracing a bug in one of my scripts where I did something very similar (stomp on scope when I didn't mean to, which would have been really obvious with named variables). So who knows, the sanity you save may be your own.
In reply to Re: Re: While but not for clobbers $_
by Nkuvu
in thread While but not for clobbers $_
by tenya
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |