>
> 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 says $subs = Execute({'object' => 'subs.epl'}); the other
$req
> = shift; $req = new;
>
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 hope that helps a littel bit...
Gerald
P.S. Let move this discussion back to the list, because there are more
people interested and have ideas
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]