in reply to using 'use CGI;' and tables
please throw all this printings and use HTML::Template This will improve the performance also cheers