I know it is possible to invoke Java when Perl 6 is using that backend: How do I invoke a Java method from perl6
Is there a way yet to access e.g. the JavaScript DOM interface from Perl 6 with the new Rakudo JavaScript VM running in the browser?
Perhaps something like this:
use v6;
use javascript::dom:from<JavaScript>;
You can now access the DOM using EVAL(:lang, 'return document') See https://perl6.github.io/6pad/#4ee170f8043efe4802c8e6fb55d6a187 for an example.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With