You're reading from your filehandle twice each time through the loop. Don't do that.
while (<FILEHANDLE>) { my $ServerName = <FILEHANDLE>;
The cake is a lie.
The cake is a lie.
The cake is a lie.
In reply to Re: Substring problem
by Fletch
in thread Substring problem
by keith_kauai
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |