This comparison does not seem to be working:
What is the mistake here?if ($third_char ne 'c' || $third_char ne 'd'){ $part=substr($stri,0,2);
I guess it depends upon what you mean by "not working"; I assume you are aware that it is unlikely that any single character would fail to satisfy your test?
:)
Draw a Venn diagram :) :)
In reply to Re: Loops and comparisons
by snax
in thread Loops and comparisons
by perl_seeker
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |