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('../constants.epl') doesn`t
LZ> work. How can I do it?


Try this:

[!
        use Carp;
!]
        
[-
        $req = shift;
        $req->{appname} = "test app";
-]

If you put the $req stuff into [!!] block it will be executed just the
first time the page is loaded.

Bye,

Luiz Fernando B. Ribeiro
----------------------------
At Home - Design e Internet
[EMAIL PROTECTED]
[EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to