> > > Since get_recipe is only intened to return a recipe and not > to do any > > processing, this should be no problem at all, but gives you > the chance > > to change your recipe during the request initialisation. > > Why would one want to do that? And how? >
For example you might want to look at the passed parameters and decide afterwards if you want to deliver HTML or XML or whatever. > > > If yes, you should > > use an application object instead and use the init method > to do such work. > > I'm not following you here. > You can set Embperl_Object_App to a filename that contains Perl code. The init method of this file is called before any other page and allows you to modify the request, for example which file to serve and to do any processing. This allows you to separate code and presentation. Gerald ** Virus checked by BB-5000 Mailfilter ** --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]