First cut Perl to Ruby conversion?

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 C. Phone : (64)(3) 358 6639
Tait Electronics Fax : (64)(3) 359 4632
PO Box 1645 Christchurch Email : [email protected]
New Zealand

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!

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?

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs