All I know (well, not all) is that CGI.pm produces ghastly HTML code. I don't use it because it's just a pain in the ass
to look at when some html-code is wrong and you have to look at the source. But I have heard it makes it really easy to produce tables on-the-fly.