>
> In the second question I tried to answer (sory for my _bad_ english ;-) if
> it is stupid to do this:
>
> $obj = Execute({object => 'methods.epl'});
> $obj = $obj->new()
> $req = shift;
> $req->{property} = 'value';
>
> I can use EPO (Embperl object) for storing global (request) variables, can
> I? So $req is superfluous.
>
I think you are mixing two diffefernt things. $req is the request object,
and you can store request variables there. You can also use it to call any
fucntions defined within the pages as methods, like
$req -> new
The benefit of this is, that $req ios automaticly blessed into the package
of the page that is requested, so $req -> new calls the new method of the
requested page.
$obj, as you use it above, is intented if need an second object with
different inherece hierachie. Also you can store data in $obj, it is only
available to the pages that have access to $obj, so you have to store $obj
somewhere, e.g. in $req -> {obj}.
>From what I read so far, I think $req is the right one to use for you.
Gerald
-------------------------------------------------------------
Gerald Richter ecos electronic communication services gmbh
Internetconnect * Webserver/-design/-datenbanken * Consulting
Post: Tulpenstrasse 5 D-55276 Dienheim b. Mainz
E-Mail: [EMAIL PROTECTED] Voice: +49 6133 925131
WWW: http://www.ecos.de Fax: +49 6133 925152
-------------------------------------------------------------
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]