out put is here...sorry about that:
nin foreach loop with CP000720.1
No records matched for CP000720.1
nin foreach loop with CP000950.1
No records matched for CP000950.1
nin foreach loop with CP000950.1
Pasting output like this doesn't realy help. You should enclose it in <code></code> tags
Ever considered using DBI->trace (8); or something alike? We're not here to fix your database or guess it's content. We can however point at program errors or scripting mistakes, and we might be able to explain a database error.