>
> In CGI mode you can't use $req because $req is a feature available when
> you run Embperl under of mod_perl.
>
You can use EMbperl's request object as Lukas does with:
[-
$req = shift;
$req->{appname} = "test app";
-]
but you can use Embperl's predefined variable $req_rec wh
>
> Hmmm either in CGI mode?
>
when running as CGI script everytime is the first time
Gerald
-
Gerald Richterecos electronic communication services gmbh
Internetconnect * Webserver/-design/-datenbanken * Consulting
Post:
Olá lukas,
Reply to your message:
LFBR>> If you put the $req stuff into [!!] block it will be executed just the
LFBR>> first time the page is loaded.
LZ> Hmmm either in CGI mode?
In CGI mode you can't use $req because $req is a feature available when
you run Embperl under of mod_perl.
Sem mai
Hello Luiz,
Monday, September 03, 2001, 3:25:38 PM, you wrote:
LFBR> Olá lukas,
Olá
LFBR> If you put the $req stuff into [!!] block it will be executed just the
LFBR> first time the page is loaded.
Hmmm either in CGI mode?
Regards
Lukas Zapletal [[EMAIL PROTECTED]]
web programmer
Bach
Olá lukas,
Reply:
LZ> I have these files:
LZ> /constants.epl
LZ> /topbar/base.epl
LZ> /main/base.epl
LZ> constants.epl:
LZ> [!
LZ> use Carp;
LZ> $req = shift;
LZ> $req->{appname} = "test app";
LZ> !]
LZ> I need to execute constants in both bases. Execute('../
>
> I have these files:
>
> /constants.epl
> /topbar/base.epl
> /main/base.epl
>
> constants.epl:
> [!
> use Carp;
>
> $req = shift;
> $req->{appname} = "test app";
> !]
>
>
> I need to execute constants in both bases. Execute('../constants.epl')
doesn`t
> work. How can I d
On Mon, Sep 03, 2001 at 09:14:30AM +0200, Lukas Zapletal wrote:
EMBPERL_OBJECT_ADDPATH is your friend. It is *always* added to the
searchpath.
I usually have something like this:
EMBPERL_OBJECT_STOPDIR=/your/www/root
EMBPERL_OBJECT_ADDPATH=/your/www/root/defaults
So something like:
/your/www/
Hello EmbPerl,
I have these files:
/constants.epl
/topbar/base.epl
/main/base.epl
constants.epl:
[!
use Carp;
$req = shift;
$req->{appname} = "test app";
!]
I need to execute constants in both bases. Execute('../constants.epl') doesn`t
work. How can I do it?