This is because in the script, the variable holding the new datafile is initialized to a space first:
# Buffer for temporary swap store. $Buffer = ' ';
Initialize the buffer to be empty like the following to solve your immediate problem:
# Buffer for temporary swap store. $Buffer = '';
A word of advice:That script is horrible code, and while I didn't see a wide gaping spammer hole in it, the sister script http://optionalreaction.net/cgiperl/nomail.pl is a really wide open invitation for spammers to abuse it. As it seems, you don't have much experience programming and debugging other peoples programs. I can only recommend you to consult somebody who understands these things instead of copying and pasting scripts from the web in the hope that they work as you want and can't be abused to the detriment of others. The folks at http://nms-cgi.sourceforge.net/ have well tested and supported CGI scripts that try to cater to many needs. Give those scripts a look instead.
In reply to Re: Annoying whitespace(s)...
by Corion
in thread Annoying whitespace(s)...
by reaction
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |