in reply to DBI and HTML::Template

Well, you may want to look at this very simple solution. I have gone through this before - looping is not necesary. There IS an easy/clean/simple way. Honest.

*G*