Re: Execute in same namespace

2000-10-18 Thread Todd R. Eigenschink
Andre Landwehr writes: >On Sun, Oct 15, 2000 at 10:08:00AM -0500, John Aughey wrote: >> in an epl file to include a common nav bar in many .epl files. I would >> like to evaluate the navbar.epl script in the same namespace as the >> calling script. I want to do this so the navbar.epl has access

Re: Execute in same namespace

2000-10-16 Thread Gerald Richter
>check out >http://perl.apache.org/embperl/Embperl.pod.2.html#By_calling_HTML_Embperl_E xecut > >find the package parameter. > >i haven't used this so far , but i think u can call it like this: >HTML::Embperl::Execute ({ inputfile => '/path/to/your.html', package => __PACKAGE__,}); do so works,

Re: Execute in same namespace

2000-10-16 Thread ___cliff rayman___
check out http://perl.apache.org/embperl/Embperl.pod.2.html#By_calling_HTML_Embperl_Execut find the package parameter. i haven't used this so far , but i think u can call it like this: HTML::Embperl::Execute ({ inputfile => '/path/to/your.html', package => __PACKAGE__,}); Andre Landwehr wro

Re: Execute in same namespace

2000-10-16 Thread Andre Landwehr
On Sun, Oct 15, 2000 at 10:08:00AM -0500, John Aughey wrote: > in an epl file to include a common nav bar in many .epl files. I would > like to evaluate the navbar.epl script in the same namespace as the > calling script. I want to do this so the navbar.epl has access to some > variables that ar

Execute in same namespace

2000-10-16 Thread John Aughey
I would like to do the equivalent of [- Execute('navbar.epl'); -] in an epl file to include a common nav bar in many .epl files. I would like to evaluate the navbar.epl script in the same namespace as the calling script. I want to do this so the navbar.epl has access to some variables that are