Autor: Todd Lyons Datum: To: deisler CC: exim-users Betreff: Re: [exim] defined and Exim::expand_string ('$variable')
On Fri, Apr 5, 2013 at 7:52 AM, deisler <deisler@???> wrote: > if (defined Exim::expand_string('$acl_m_helo_check_a')) { > ||$acl_m_helo_check_a don't defined, but perl think what
> ||$acl_m_helo_check_a defined.
> Why does defined function in perl receives this value?
I have not looked at the code, but I suspect that expand_string()
returns '' instead of undef. '' is the empty string and passes the if
defined test.
...Todd
--
The total budget at all receivers for solving senders' problems is $0.
If you want them to accept your mail and manage it the way you want,
send it the way the spec says to. --John Levine