Dear Embperl-ophiles,
I've just added support for Embperl::Object to my ecards project Penguin
Greetings <http://pgreet.sourceforge.net>. To simplify making ecards, I
have Embperl pages executed within other pages using an idiom like this:
[- Execute($Embperl_page, $param_list_ref) -]
which is of course short for:
Embperl::Execute ({inputfile => $Embperl_page,
param => $param_list_ref,
}
);
When I went to pass parameters into an Object::Execute call I used this
form of the Execute call within my Embperl pages:
[- Execute('*') -]
However in my rummaging around the Embperl documentation, I could not see
how to pass a $param_list_ref to the page I was trying to execute and
embed within this object oriented page. I solved the problem by adding a
property to the base page object and accessing that, but that means that
users developing Embperl::Object pages have to use a different mechanism
to access Penguin Greeting parameters than those using "straight" Embperl
Execute.
It is possible to pass to 'param' within an embedded Execute('*') call?
Thanks in advance for help and wisdom on this!
Peace, Edouard :-)
P.S. It really doesn't matter much except that a consistent way to access
these parameters would make my documentation write up simpler and reduce
user confusion! :-)
==================================
Edouard Lagache
Lead Developer, Penguin Greetings
http://pgreet.sourceforge.net/
[EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]