my $cgi = new CGI; # cgi # ajax function my $pjx = new CGI::Ajax( 'exported_func' => \&perl_func, 'exported_func_two' => \&perl_func_two); print $pjx->build_html( $cgi, \&Show_HTML);