which is how ?: was intended to be used.$optsFile = ($msgFile =~ /\-opt.dat$/) ? 1 : 0;
In reply to Re: ?: conditional operators appear to fail
by bart
in thread ?: conditional operators appear to fail
by landau351
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |