>
> I had to do one absolutely wacky thing, though. Because I call Execute
> from within templates (indirectly, actually, through our own Template
> module that wraps Embperl), I needed to extend your idea a little.
>
> Essentially, I needed to use a unique Safe namespace for each request, but
> somehow have it carry over between the included Execute calls. So, I
> share the Safe compartment's root across calls to Execute. But simply
> doing that means that when the same file is included and executed by
> different templates then the package names will mismatch and data won't be
> shared across included files correctly. I solved this by creating a
> virtual filename that is unique on a per file *and* a per "root"
> namespace, but is common across requests, to allow for caching.
>
> Does this make any sense to anyone? Probably not. :) I'll go away now,
> but thanks everyone, especially Gerald, for the help!
>
If you really want to have all files of one request running in the same
namespace, then your solution seems to me the only working one, because you
have to compile the Executed files in the calling namespace and this must be
done for every calling namespace.
Gerald
-------------------------------------------------------------
Gerald Richter ecos electronic communication services gmbh
Internetconnect * Webserver/-design/-datenbanken * Consulting
Post: Tulpenstrasse 5 D-55276 Dienheim b. Mainz
E-Mail: [EMAIL PROTECTED] Voice: +49 6133 925151
WWW: http://www.ecos.de Fax: +49 6133 925152
-------------------------------------------------------------