Re: [htmltmpl] die_on_missing_params

2007-05-31 Thread Mathew Robertson
Hi List, Patch sent directly to Josh so as to avoid the list noise. If people are interested, I will post it (and the test cases). cheers, Mathew Joshua Ball wrote: > Hi Mathew, > > (This is the same Josh as @highgatecross. My e-mail there is down, so > I subscribed from another address. :->)

Re: [htmltmpl] die_on_missing_params

2007-05-31 Thread Joshua Ball
Hi Mathew, (This is the same Josh as @highgatecross. My e-mail there is down, so I subscribed from another address. :->) That's exactly what I'm looking for. I'm dealing with legacy code which has highly nested includes in the templates. From what I've been able to tell, I don't think the origina

Re: [htmltmpl] die_on_missing_params

2007-05-31 Thread Mathew Robertson
Short answer: no there isn't such a feature. However I do have a patch I use to add this ability - with one caveat... the patch changes the behaviour such that if your code never implemented: $ht->param(parm_name => undef); but did rely on the undef'ness of param_name, then your code would need