in reply to CGI throws in an extra character. Why?
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
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: CGI throws in an extra character. Why?
by Anonymous Monk on Dec 01, 2004 at 07:01 UTC | |
by davido (Cardinal) on Dec 01, 2004 at 07:05 UTC | |
|
Re^2: CGI throws in an extra character. Why?
by Petras (Friar) on Dec 01, 2004 at 05:50 UTC | |
by ikegami (Patriarch) on Dec 01, 2004 at 06:25 UTC |