Email Lists wrote:
Greetings
Im am not a perl programmer yet I am trying to learn and am debugging someone elses perl run script for use on a centos production box I have and I came across this
elif [ -z "${SMTP_CDB:-}" ]
That's not perl, that is part of a shell script.
${SMTP_CDB:-} returns an empty string if the Variable $SMTP_CDB is not set. See "Parameter Expansion" in the manual page of bash. And "test -z $string" returns true, if $string is empty.
Regards,
Ralph