in reply to DBI, rows, and do

Wow, I tried to explain myself properly, but I just realised how clumsily I did it. It's a good thing that you (all) pointed it out though because the problem was solved (mostly).

I had $statement as a global var, but accidentally only assigned it my in remove. Thanks for pointing that out Thilosophy... I don't suppose you make the monocles too? That missing curly was there on the original. I'm still not sure why DBI::do() would return a 1 if is trying to do a delete without a statement though. I'll go poke about a bit more.

t1m: I hoped that the line you quoted first assigned @_ to $id (which it does) and then matched $id to the regex. It was to so the module (hopefully) isn't abused. Do I need to separate it onto two lines to do that?

jpeg, trammell and jZed, your help is much appreciated. *bows piously*