>The server seems to be putting the 'included'embperl files into the
>same namespace.

As long as you don't force EMbperl to do otherwise, every Embperl will run
in it's own namespace

> Each page works fine if you hup the server, going
>from one section of the site to annother results in the top nav
>bar being incorrectly displayed.
>
>Thats if we use Apache::Registry or Apache::PerlRun. If I use
>Apache::PerlRun, and set PerlRunOnce everythign works fine. While
>this gives us a decent speed increase from preloading the modules,
>I'd like to not have to use PerlRunOnce, and ideally be able to use
>Apache::Registry.

>Some code.... in a typical template, there's embperl like this:
>   [* Execute($base.'/'.$top_nav,$app); *]

Try to use [- -] instead of [* *]. There are still some problems with [* *]
blocks. With that change your setup should run just fine.

Gerald


Reply via email to