I received the attached submission from Michael Thelen (thanks Michael). He used the upload feature to submit a solution with ASCII characters from 0-255. It was emailed correctly, but the database only has the shebang followed by some whitespace (spanning a few blank lines).
In PGAS I am reading the file upload into a scalar and later writing that scalar to the file that is attached to the email. To me, this means that the scalar has all the right stuff in it, since the attachment comes with the right stuff. That same scalar is inserted into MySQL via placeholder. There are no error messages occurring, the insert is successful, but the solution field is obviously incomplete. Anyone have any suggestions? You can browse the current version of submit.cgi at the PGAS CVS tree here: http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/perlgolf/ Thanks, --Dave
dev2.pl
Description: Binary data
