First cut Perl to Ruby conversion?

J

John Carter

So I have a perl script I wrote a year or three back. Not bad
programming style, but its a pain to work with.


Question:

I know a full perl to ruby translator is hopeless, the only thing that
can parse Perl is perl. Has anyone a "first rough cut" approximate
perl to ruby convertor?

(It occurs to me translating bytes codes from parrot into ruby may be
an easier way...)



John Carter Phone : (64)(3) 358 6639
Tait Electronics Fax : (64)(3) 359 4632
PO Box 1645 Christchurch Email : (e-mail address removed)
New Zealand
 
C

ChrisKaelin

Question:

I know a full perl to ruby translator is hopeless, the only thing that
can parse Perl is perl. Has anyone a "first rough cut" approximate
perl to ruby convertor?


Oh I'd be so happy too, if someone would have such a translator!
 
E

eden li

exec("perl script.pl")?

Seriously though, if it's a pain to work with now, imagine what a
nightmare it will be after you run it through some sort of
translator. Why not just rewrite it in ruby?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,994
Messages
2,570,223
Members
46,812
Latest member
GracielaWa

Latest Threads

Top