|XP is just a number|
webperl: fetching data over the webby LanX (Archbishop)
|on Nov 08, 2018 at 14:51 UTC||Need Help??|
LanX has asked for the
wisdom of the Perl Monks concerning the following question:
I'm having an issue with fetching web-content via webperl which is probably related to asynchronism. (final goal: to dynamically load and install non-bundled Perl modules)
This code works when included into the democode page
please note that because of the same origin policy I can only access data from the same server.
After installing webperl and plack locally I can run it under localhost:5000
Now I copied webperl_demo.html to a new page and included the follwing JS-code
which is able to fetch (for demonstration) the included emperl.js
BUT running the following webperl code not only fails, but blocks the page
What am I missing?