tokuhirom's blog

Shipped mRuby.pm

https://metacpan.org/release/mRuby

    use mRuby;

    my $mrb = mRuby::State->new();
    my $st = $mrb->parse_string('9');
    my $n = $mrb->generate_code($st);
    $st->pool_close();
    my $ret = $mrb->run($mrb->proc_new($n), undef);

I released alpha version of mRuby.pm. mruby is a embeddable version of ruby library. You can embed ruby code to Perl5 script.

Enjoy!

Created: 2012-06-21 06:26:23 UTC
Updated: 2012-06-21 06:26:23 UTC