in reply to DBI Error

That's an easier fix than you might be thinking. In perl, [] is for array references and () is for arrays. See perlreftut for further info on the difference.

Update: I was just reading through the perlreftut, since I link to it fairly often. That's a good read even if you're a avid perl nerd already.