On Mon, Apr 17, 2006 at 11:57:43PM +0200, Leopold Toetsch wrote: > The problem here is the ':anon' sub. It doesn't have a name, so it > isn't stored in any namespace. Now executing this sub doesn't set the > default namespace to 'eek' either. Therefore the symbol '$whee' ends up > in the default namespace of the caller.
I'd call this a bug then, albeit one with an easy workaround. Sub PMCs should be able to have a default namespace inherited from the HLL, even if they do not have a name which is stored in that namespace. -- Chip Salzenberg <[EMAIL PROTECTED]>