in reply to Tables with Cgi.pm

You want to replace your square brackets with parentheses - ( and ). I'm sure someone here has a very good link to the difference between an anonymous array and a list, but that's essentially the problem.