Re: EPO examples

2001-08-07 Thread Gerald Richter
> > If I need to have object`s methods in a separate file is this only one way > to do it? I mean using obj = Execute({object=>foo}); > If you want to have methods that mixes HTML and Perl, then the anwser is yes. For pure Perl methods you just use a normal Perl module Gerald -

Re: EPO examples

2001-08-05 Thread Lukas Zapletal
>An Example for useage of Execute ({object => foo}) could be found at > >http://perl.apache.org/embperl/IntroEmbperlObject.pod.7.html#Subroutines_in _ >EmbperlObject > >If this doesn't help, please describe what you want to do and I try to tell >you which is the best solution with EmbperlObject I

Re: EPO examples

2001-08-03 Thread Gerald Richter
>>$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}. >I wonder I do not understand > >can

Re: EPO examples

2001-08-01 Thread Lukas Zapletal
>$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}. I wonder I do not understand can you give

Re: EPO examples

2001-07-19 Thread Gerald Richter
> > 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

Re: EPO examples

2001-07-18 Thread Lukas Zapletal
>> What name do you use for EPO? $obj, $subs or $req? I mean do you use: $obj = Execute({object => 'methods.epl'}); or $obj = Execute({object => 'methods.epl'}); or $obj = Execute({object => 'methods.epl'}); ... In the second question I tried to answer (sory for my _bad_ english ;-) if it is st

Re: EPO examples

2001-07-18 Thread Gerald Richter
> >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 g

Re: EPO examples

2001-07-18 Thread Lukas Zapletal
>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

Re: EPO examples

2001-07-18 Thread Gerald Richter
> > but can you send me some embeded perl objects (EPO) example source code (or > some small example site)? > Unfortunaltely I don't have small example I could send to you. The most things I done with EO are so complex, that it would help you anythings > i`m so confused! > > one tutorial say