Coro doesn't want to work with JSPL module

Sergey Volkov wolfix57 at gmail.com
Sat Nov 24 04:36:23 CET 2012


Hi! I need to run JSPL ( A bridge between JavaScript and Perl languages )
inside of Coro, but it doesn't want to work with JSPL...

#!/usr/bin/perl

use JSPL;
use Coro;

async {

my $rt = JSPL::Runtime->new();
my $ctx = $rt->create_context;
print "done";
}->join();

I can't even create JSPL context inside of Coro thread,
I always get "Segmentation fault" error.

Is that a kind of bug or something?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.schmorp.de/pipermail/perl/attachments/20121124/75c3253d/attachment.html>


More information about the perl mailing list