my $cgi = new CGI; my $pjx = new CGI::Ajax( 'getBibCompare' => \&comparisonBible_function, 'processFormInputs' => \&processFormInputs, 'editScreen' => \&editScreen, 'skip_header' => 1, ); $pjx->skip_header(1); $pjx->cgi( $cgi ); print $pjx->build_html( $cgi, \&main, {-charset=>'UTF-8', -expires=>'-1d'} ); $pjx->JSDEBUG(1);