in reply to perl to write to more than one table in a database at the same time (or call anotherscript to do one)

In your code, you only execute $sth, you don't execute $sth2.
  • Comment on Re: perl to write to more than one table in a database at the same time (or call anotherscript to do one)