On 2/15/06, eastcoastcoder / gmail.com <eastcoastcoder / gmail.com> wrote:
> There are modules in CPAN that can do almost anything you need, and
> most things that you don't.  Having access to them would make a lot of
> Ruby tasks much easier!
>
> May I make a suggestion:  Go the route of the Cygwin project.  Instead
> of porting individual modules, build a bridge that let's Ruby invoke
> and talk to Perl.  This would give us free access to (nearly) all of
> CPAN.  It would also make migrating a lot of Perl apps easier.
>
> Are there any major difficulties it building a Ruby <-> Perl bridge?
> Allowing Ruby code to call Perl subroutines, pass vars back and forth,
> etc.?
>

You can do this with RubyInline:
http://rubyforge.org/projects/rubyinline/