Your the man. Seriously, your books, articles and since I've found Perlmonks, your posts, have been a huge help to me over the last couple years.
Works great. I'll try and modify it to collect the options and print the perl for declaring the arrays and label_hashes. I notice it also doesn't like the new XML style CGI.pm output for non container tags. Should be easy to fix.