in reply to Re: true/false condition - what am I doing wrong?
in thread true/false condition - what am I doing wrong?
A common use would be like this:I have always thought the common use is($today eq 'Monday') ? $firstDay =1 : $firstDay =0;
$firstDay = $today eq 'Monday' ? 1 : 0;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: true/false condition - what am I doing wrong?
by Marshall (Canon) on Dec 08, 2011 at 16:58 UTC |