|Problems? Is your data what you think it is?|
CGI throws in an extra character. Why?by Petras (Friar)
|on Dec 01, 2004 at 05:35 UTC||Need Help??|
Petras has asked for the
wisdom of the Perl Monks concerning the following question:
This is a chunk of code that is supposed to make a table of thumbnails. The form elements have a purpose--ultimately I want to be able to view a directory of images and rename them through a CGI script (untill I have a time to read Mastering Perl/TK, that is). But that's not the point.
The BIG QUESTION is, why, using Indigo Perl 5.8 and IE 6.029, why does a number one ("1") render at the bottom of the page? Where does that come from?
There is a lot of non-conforming code here. Feel free to blast my newbie-style in response, but that's not really what this post is about ;)
It displays a table, with appropriate file names, form fields, and thumbnails, but after the table an extra "1" shows up. What's going on?
Don't worry about people stealing your ideas. If your ideas are any good, you'll have to ram them down people's throats.
Edit by castaway - move readmore tags outside of code tags