At the bottom of your script, here's your problem:
print #query->end_html;That should be...
print $query->end_html;What's happening is that # begins a comment, which means that you're calling print with no arguments, which means it defaults to printing the contents of $_, which happen to be (in this case), the number '1'.
Dave
In reply to Re: CGI throws in an extra character. Why?
by davido
in thread CGI throws in an extra character. Why?
by Petras
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |