in reply to Weird problem with Perl and MySQL

In addition to some code as mentioned above, the output of  describe tablename; from mysql would be helpful also.