in reply to Why does Perl use dynamic scoping?
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.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Why does Perl use dynamic scoping?
by demerphq (Chancellor) on Feb 07, 2003 at 13:06 UTC | |
by steves (Curate) on Feb 07, 2003 at 17:41 UTC | |
by Anonymous Monk on Feb 08, 2003 at 00:28 UTC | |
by demerphq (Chancellor) on Feb 08, 2003 at 00:41 UTC | |
by Boots111 (Hermit) on Feb 07, 2003 at 19:05 UTC | |
by demerphq (Chancellor) on Feb 07, 2003 at 22:38 UTC | |
by adrianh (Chancellor) on Feb 07, 2003 at 22:23 UTC | |
by Boots111 (Hermit) on Feb 10, 2003 at 03:50 UTC |