If the error only occurs with the Perl side, then there must be a difference in what Perl returns when compared with what PHP returns. Inspect both parts until you find the difference.
Consider maybe returning a static JSON file instead of using Perl to find out what the Javascript breaks on.
In reply to Re^3: How to make ajax requests in Dancer2
by Corion
in thread How to make ajax requests in Dancer2
by fishmonger
For: | Use: | ||
& | & | ||
< | < | ||
> | > | ||
[ | [ | ||
] | ] |