Help for this page
$query->startform(-method=>'POST', -action=>"newcgi.cgi?foo=report");
report() if param('foo') eq 'report';