Change the lines like:
@LINES = <FILE>;
to:
chomp( @LINES = <FILE> );
The symptoms you describe is a classic case of not stripping out the newline from the lines you read in from the file. Other than that, you are making a lot of work for yourself in this code. By using the module CGI you could strip out a lot of code and make it more secure as well.
In reply to Re: space in front of lines
by grinder
in thread space in front of lines
by wolverina
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |