on $hash which it's value's are YES or NO (all capital), I get all the values (after the loop) to be NO (all capital) no matter if I had YES values (and it's also 'NO' and not 'No'). Can someone tell me what the hell is going on here?for (values(%{$hash})) { /yes/i ? $_ = 'Yes' : $_ = 'No'; }
In reply to if condition problem by hotshot
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |