http://www.perlmonks.org?node_id=95048


in reply to dbi newbie question

DBI wouldn't do what you describe, unless you have duplicate rows in your tables or something. Perhaps the problem is that you are always appending to $websites and not resetting it? Try putting
$websites = '';
after the execute call.