The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

mRuby - mruby binding for perl5.

SYNOPSIS

    use mRuby;

    my $mruby = mRuby->new(src => '9');
    my $ret = $mruby->run();

DESCRIPTION

mRuby is mruby binding for perl5.

METHODS

my $mruby = mRuby->new(src => $src : Str) : mRuby

Parse src and generate mRuby object.

my $mruby = mRuby->new(file => $file : Str) : mRuby

Parse source from file and generate mRuby object.

my $ret = $mruby->run() : Any

Run mruby code and get a return value.

my $ret = $mruby->funcall($funcname : Str, ...) : Any

Call specified named mruby function from toplevel context and get a return value.

AUTHOR

Tokuhiro Matsuno <tokuhirom AAJKLFJEF@ GMAIL COM>

karupanerura <karupa@cpan.org>

LOW LEVEL API

See mRuby::State

SEE ALSO

mRuby

LICENSE

Copyright (C) Tokuhiro Matsuno

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.