> Aha. So you recommend every EmbperlObject file from my example looks
> like
>...

yes

> Anyway, several [$sub$]'s in every file, what about performance (vs.
> some kind of sending around param list/hash)?

Shouldn't be a great problem

> Moreover, how would you
> set up defaults?

Currently you can't.


But you can make the sub return a value (or better a hashref of all your
values) via

[$ sub params $]
[- $_[0] = { title => 'test', bgcolor => 1 } -]
[$endsub$]


Then you call it like

[- Execute ({inputfile => '*', sub => 'params', param => \@params}) ; -]

and now you have your hash ref in $params[0].

Ok, this isn't the greatest solution, but it works and should deliver what
you need. I know that there is still work to do in this direction and ideas,
like yours, are welcome.

Gerald



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

Reply via email to