Re: [exim] Re: Help with "if" syntax

Αρχική Σελίδα
Delete this message
Reply to this message
Συντάκτης: Wakko Warner
Ημερομηνία:  
Προς: Martin A. Brooks
Υ/ο: exim-users, Andreas Metzler
Αντικείμενο: Re: [exim] Re: Help with "if" syntax
Martin A. Brooks wrote:
> Andreas Metzler wrote:
> >You are opening 9 but closing only 7 curly braces. What exactly are
> >you trying to do? "If lookup ... fails then 42 else ...")
>
> In pseudocode:
>
> if (dblookup($domain) is successful){
>     return $valuefromlookup
> } else {
>     return 60
> }


why not just:
${lookup pgsql{query}{$value}{60}} ???


--
Lab tests show that use of micro$oft causes cancer in lab animals
Got Gas???