From: Adrian Howard Date: 2007-11-26T03:09:17+09:00 Subject: Re: Ruby to Perl translation On 23 Nov 2007, at 16:05, John Wells wrote: > On 11/23/07, Adrian Howard wrote: >> There's nothing like a Ruby->Perl compiler that I'm aware of. Which >> bits of Ruby syntax are do you like most? It might be easier to pick >> some useful modules (e.g. Moose for OO) and stick with Perl. It >> doesn't have to look completely evil :) > > As long as we're wishing, it'd be nice to have it the other way > around. Some many legacy perl scripts, so little time to care about > perl anymore ;) The thing is that these sorts of automated conversion tools nearly always give you code that's a complete bugger to maintain. Wrap the other code in some kind of RPC framework and leave it alone would be my advice :-) Cheers, Adrian