Put print ">$HOSTNME< >$SRVCHX<"; right before the if statement. It should print without a line break, and the arrows should be right next to the expected text.
First thing to do in these situations is verify that your data is exactly what you expect.
In reply to Re: Perl IF Issue
by stevieb
in thread Perl IF Issue
by intoperl
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |