WebPerl

Logo

Run Perl in the browser with WebPerl!

View the Project on GitHub haukex/webperl

[ Using - Building - 🩋 - Notes - Legal - Wiki ]

Misc. Notes on WebPerl

Other places I’ve written about WebPerl:

Talks

DOI 10.5281/zenodo.1400490

“In the Press”

Prior Art

Several people have built microperl with Emscripten:

TODOs

  1. Testing

    • How to best disable individual tests that we know won’t work? (qx etc.)
    • How to handle the many tests that call an external Perl?
      • patching t/test.pl’s runperl() seems easiest at the moment, and we can use the iframe method from the IDE
    • Continue work on WebPerl.t
      • More tests for Unicode support (Perl/JS interface, Perl.eval(), plus Emscripten’s virtual FS)
    • Focus on getting the tests running in the browser instead of node.js
    • How to best package tests?
      • If possible, a separate bundle, so that it can be loaded optionally and we don’t need to rebuild
      • How does make test find and handle all the various modules’ ts?
  2. Misc

  3. See Also

SSL

$ openssl req -x509 -nodes -days 365 -newkey rsa:2048 -keyout selfsigned.key -out selfsigned.crt
...
Common Name (e.g. server FQDN or YOUR name) []: localhost
...
$ plackup --enable-ssl --ssl-key-file=selfsigned.key --ssl-cert-file=selfsigned.crt web/webperl.psgi
# then go to https://localhost:5000 and accept the certificate warning

Possible Improvements

Limitations

Release Checklist


Copyright (c) 2018 Hauke Daempfling ([email protected]) at the Leibniz Institute of Freshwater Ecology and Inland Fisheries (IGB), Berlin, Germany, http://www.igb-berlin.de

Please see the “Legal” page for details.


You can find the source for this page at https://github.com/haukex/webperl/blob/gh-pages/notes.md