in reply to Re: [WEBPERL] dynamically importing non-bundled modules via http
in thread [WEBPERL] dynamically importing non-bundled modules via http

> with the code translated to Perl like I showed here :-)

I wanted to have a mostly pure JS solution to eliminate possible other problems in your object wrapper.

And XHR is not the only possibility to fetch data, FF has even a fetch function, and emscript offers a wget method.

Having a browser compatibility switch inside JS to fix incompatibilities is the approach I'm used to, i.e. xfetch could adapt to various contexts.

I tried to design my code as flexible as possible, feel free to patch functions according to your needs. :)

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

  • Comment on Re^2: [WEBPERL] dynamically importing non-bundled modules via http