http://www.perlmonks.org?node_id=1051868


in reply to Re^4: CGI::Ajax No head/html tags, nowhere to insert. Returning javascript anyway.
in thread CGI::Ajax No head/html tags, nowhere to insert. Returning javascript anyway.

Sorry to all of you, but it's not working...I am finding it difficult to generate HTML content with session info, and forward it to Ajax call

Ok, but why post Pseudocode instead of the code you're now trying that is failing for you?

:)Basic debugging checklist , brian's Guide to Solving Any Perl Problem, CGI Help Guide , Troubleshooting Perl CGI scripts, How do I post a question effectively?