Inline::Ruby - Execute Ruby code and libraries from Perl 6 programs

NAME

Inline::Ruby - Execute Ruby code and libraries from Perl 6 programs

SYNOPSIS

use Inline::Ruby;

EVAL 'puts "Hello!"', :lang<Ruby>;

# EVAL is pretty verbose, let's make a shorthand sub postfix:<:rb>($code) { use MONKEY-SEE-NO-EVAL; EVAL $code, :lang<Ruby>; }

# Method calling, some simple params say 'Time':rb.now.to_s; say '[2, 6, 8, 4]':rb.sort.slice(1,2).to_s;

AUTHOR

Brock Wilcox <[email protected]>

The Camelia image is copyright 2009 by Larry Wall. "Raku" is trademark of the Yet Another Society. All rights reserved.