Is there some more efficient construct that will accomplish this or a special way of using switch? Thanks.if (index($mystring,"key1")>=0) { . . . } elsif (index($mystring,"key2")>=0) { . . . } elsif (index($mystring,"key3")>=0) } . . . } . . .
In reply to if or switch? by gw1500se
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |