On Fri, Feb 09, 2001 at 05:17:44PM -0000, Jonny Cavell wrote:
> Along vaguely similar lines, I would like Embperl to be able to take a $user
> object stored in pnotes and make it accessible as a global in the same way
> that e.g. $req_rec is accessible. Would this be possible?
both of you just need to add an EMBPERL_OBJECT_HANDLER_CLASS, that
overrides the default Execute.
your Execute just calls SUPER::Execute, then imports some more
variables into the target namespace (see Embperl.pm, it should be
fairly obvious how its done).
you can then implement whatever you want, however you want.
--
- Gus
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]