Or use one of the HTML::DBForm variants (as far as I can see HTML::DBForm doesn't do checkboxes, only radio buttons, tables or dropdown lists), which can provide this for you.
HTH.
Walking the road to enlightenment... I found a penguin and a camel on the way.....
Fancy a yourname@perl.me.uk? Just ask!!!
Comment on Re: How to use checkbox to delete mutiple rows from database