0 Replies - 2173 Views - Last Post: 05 June 2012 - 05:51 AM

#1 cupidvogel  Icon User is offline

  • D.I.C Addict

Reputation: 31
  • View blog
  • Posts: 593
  • Joined: 25-November 10

How to return a JSON-encoded array from a Perl script to HTML page?

Posted 05 June 2012 - 05:51 AM

Hi, I am working with WAMP in my C drive, and I tested a few Perl files from the cgi-bin folder, it works. However, if I keep a HTML file in the www folder, and on clicking a button in it, I want it to invoke a Perl script through Ajax that should return a JSON-encoded array. It is very easy to do so in PHP, can anybody tell me how to do it in Perl?

Is This A Good Question/Topic? 0
  • +

Page 1 of 1