in reply to Can Perl do it?
See CGI::Ajax and OpenThought and understand that CGI is server-side, AJAX is html