in reply to Perl and AngularJS - Help Required

If you have a working PHP solution, that is great. Then you can conveniently compare the headers and content that your PHP script produces and send the identical headers and content from Perl.

Also, for debugging, I would eliminate DBI from the equation and instead hardcode the contents of @output.

Replies are listed 'Best First'.
Re^2: Perl and AngularJS - Help Required
by Anonymous Monk on Jan 06, 2017 at 18:25 UTC

    Thanks, let me try your solution

Re^2: Perl and AngularJS - Help Required
by Anonymous Monk on Jan 07, 2017 at 09:25 UTC

    hardcode the contents of @output, still its not working

    can you please provide sample program URL, if you have

      I cannot produce a sample program for output I don't see.

      Please follow these three steps:

      1. Please show the headers and content your working PHP script produces.
      2. Then, show the headers and content your not-working Perl script produces.
      3. Then, modify your Perl script to produce the same header and content your PHP script produces.