[Petal] compiled expression (again)

Fergal Daly fergal at esatclear.ie
Wed Jun 18 16:50:56 BST 2003


On Wednesday 18 June 2003 3:35 pm, William McKee wrote:
> On Wed, Jun 18, 2003 at 03:34:12PM +0100, Fergal Daly wrote:
> > A better solution may be to do something like turn off some warnings in 
your 
> > template. Something like
> 
> I'm not sure this is a better solution since it means that I'd need to
> add it to all of my templates. Since this problem of empty hash keys is
> a coding issue (meaning I can avoid the warnings by setting the value to
> a non-null), it seems best to keep the solution in the code.

Sorry, I miswrote my idea. I didn't mean that everyone should manually add it 
to their templates. I meant that Petal should add it to the code it generates 
for each template. Everyone having to add something to their templates would 
certainly be unnacceptable,

F



More information about the Petal mailing list