Perl complains about reading from DATA because you have no __DATA__ section in your program. Where do you think Perl should take the data from if you don't provide any?
Also you probably want VALUES(?, ?) in your SQL. See the DBI documentation.
In reply to Re: perl and mysql
by moritz
in thread perl and mysql
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |