Hi
> I could use $req to pass the config around, but I
> couldn't figure out howto access $req in my subroutine.
>
At the moment you need to pass it to the sub. (This will change in one of
the next release, then $req will be available as global variable). For now
do
>
> base.epl
>
> [-
$req =
Hi
I have the following setup:
base.epl
[-
$sub = Execute ({object => 'include/epl/sub.epl'}, syntax => 'EmbperlBlocks');
$sub->dbconnect();
-]
--- HTML ---
[- Execute('*', $sub); -]
--- HTML ---
[- $sub->dbclose(); -]
sub.epl
[!
sub dbconnect {
my $db_name = "obelisk";