Other than that it is generally a bad idea. I have only needed it to track levels of function calls, or detect deep recursion.
Not sure what else you would choose to use it for if you could choose lexical scoping instead.
In reply to Re: Why does Perl use dynamic scoping?
by Anonymous Monk
in thread Why does Perl use dynamic scoping?
by blokhead
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |