in reply to Calling perl subroutine through CGI script

Perhaps you should look at CGI::Ajax.
  • Comment on Re: Calling perl subroutine through CGI script