in reply to Concurrent lexical scopes?
The namespace issue has nothing to do with the coderefs; the problem is that lexical variables (and by abstraction lexical subs too) are not in any namespace at all! Lexial variables exist in their lexical scope, and lexical scope doesn't give a d*mn about packages.
Anyway I don't really see that this is much of a problem - the only use for lexical subs I can see is for 'temporary' subs - you would put those somewhere where they go out of scope quickly - or 'private' subroutines, which you would put in a module anyway (and lexical scope is at most file scope)
-- Joost downtime n. The period during which a system is error-free and immune from user input.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Concurrent lexical scopes?
by broquaint (Abbot) on Jun 11, 2002 at 13:44 UTC | |
by Joost (Canon) on Jun 11, 2002 at 14:00 UTC |