Re: [exim] Does EXIM need a new scripting language? - YES

Inizio della pagina
Delete this message
Reply to this message
Autore: Philip Hazel
Data:  
To: Michael Haardt
CC: exim-users
Oggetto: Re: [exim] Does EXIM need a new scripting language? - YES
On Tue, 20 Sep 2005, Michael Haardt wrote:

> Well, there are expansion conditions. If "condition" would accept
> expansion conditions without surrounding "if" besides expanded strings,


It would need to be something entirely different. Consider

condition = ${lookup ....}

There's no "if" involved there. "if" is only one feature of string
expansions. If you want to change to

condition = eq{string1}{string2}

then the whole rhs has changed its semantics rather drastically. It's
no longer a generalized expanded string, but some specific conditions.
For compatibility, one would need to have a different name, e.g.

iftrue = eq{string1}{string2}

-- 
Philip Hazel            University of Cambridge Computing Service,
ph10@???      Cambridge, England. Phone: +44 1223 334714.
Get the Exim 4 book:    http://www.uit.co.uk/exim-book