On Wed, Mar 13, 2002 at 04:20:12PM -0500, Kee Hinckley wrote:
> I often find myself with a site where every page starts off with:
> 
> [! Execute('common-set-of-routines') !]
> 
> Is there anyway (other than Embperl::Object, which I may already be 
> using on portions of the site for other things) to configure this to 
> happen automatically?

Are these routines which must be executed on every page or merely
present? If the latter then look at EMBPERL_OBJECT_HANDLER_CLASS.

If they need to be executed on every sub-Execute then you may want to
look at rearranging things - I haven't hit a situation that wasn't
solved either with the above or a base file that stuck an
epl-executed-to-object thingy in $req. But I may have been lucky :)

Not knowing exectly what you're trying to do, you may want to have a
look at EMBPERL_INPUT_FUNC

-- 
 Andrew O'Brien
 Senior Engineer                       email: [EMAIL PROTECTED]
 Switch Online Group Pty Limited       phone: +61 2 9299 1133
 ABN 89 092 286 327                    fax:   +61 2 9299 1134

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

Reply via email to