I humbly submit that the way perl does it is correct - the original op just needs to get used to doing it the "right" way. I can't see how variable scoping in perl is incorrect in any way.
In reply to Re^2: A cleaner way of scoping variables
by hmerrill
in thread A cleaner way of scoping variables
by bradcathey
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |