>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. 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?

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

lzap


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

Reply via email to