I have a perl module with a ternary assignment. $domain is exported.
$domain should be getting localhost, but is getting www.mydomain.com.
Are ternary assignments supposed to work in perl modules (used or required)?
GN
Code:
$domain = $^O eq "Win32"?"localhost":"www.mydomain.net";
$domain should be getting localhost, but is getting www.mydomain.com.
Are ternary assignments supposed to work in perl modules (used or required)?
GN