in reply to Re^6: webperl: fetching data over the web
in thread webperl: fetching data over the web

> The endless loop of initializing/ended is also interesting, something I haven't seen yet, could you tell me the steps to reproduce that? NB demo.html not index.html like in the online version.

Cheers Rolf
(addicted to the Perl Programming Language :)
Wikisyntax for the Monastery FootballPerl is like chess, only without the dice

  • Comment on Re^7: webperl: fetching data over the web

Replies are listed 'Best First'.
Re^8: webperl: fetching data over the web
by haukex (Archbishop) on Nov 08, 2018 at 18:36 UTC

    Thank you! The error I get on the JS console is: Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at http://localhost:5000/emperl.wasm. (Reason: CORS header ‘Access-Control-Allow-Origin’ missing). I addressed that issue in 4a7dd5709b, which is unfortunately not part of v0.07-beta.

    For development, I would suggest this instead:

    $ git clone https://github.com/haukex/webperl.git $ wget https://github.com/haukex/webperl/releases/download/v0.07-beta/ +webperl_prebuilt_v0.07-beta.zip $ unzip webperl_prebuilt_v0.07-beta.zip $ cp webperl_prebuilt_v0.07-beta/emperl.* webperl/web/ $ cd webperl $ plackup web/webperl.psgi

    Then browse to http://localhost:5000/democode/demo.html.