I changed this line in the header as you suggested but it still not working. THe code I got this from is at:
http://nsaunders.wordpress.com/2007/02/20/my-first-ajax-for-bioinformatics-page/
I have only modified the last script from PHP to PERL and changed the location where the script is called. Any help would be appreciated.