> >That are two different things. The $subs = ... creates a new object for
> >calling methods inside of subs.epl. That only interseting when you have
> >different subs.epl in different directory which inherit from each other.
> >
> >>From what you wrote I guess you just want to store your data globaly,
then
> >you need the
> >
> >[- $r = shift -]
> >
> >at the top of every page. No $r is a hash ref and you can use it to store
> >any value you like, e.g.
> >
> >$r -> {color} = 'red' ;
> >
> >Defining a 'new' method could be used to initialize this record. The
> benefit
> >of using a new method is, that it is possible to override it in
> >subdirectories, to change the values of the initialuzation.
>
>
> I think using both methods together is a little odd.

No quite sure what you mean here ?

>  When I will have EPO I
> will have it`s attributtes too so I do not need any global variables, do
I?
>
> What name do you use for EPO? $obj, $subs or $req?
>

What do you mean here with EPO ? EmbperlObject is a module, not an
object/data you can give a name.

Maybe you decribe a little bit more what you want to do and we can try to
figure out the best solution.

> When Embperl evaluates $obj = Execute({object => 'methods.epl'}); do it
> calls constructor?
>

No, you have to do it on your own if you need one

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]

Reply via email to