Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How can I convert OO Perl to Java?

Tags:

java

perl

I inherited large monolithic body of OO Perl code that needs to be gradually converted to Java (per client request). I know both languages but am rusty on my Perl skills. Are there any tools (Eclipse plugins?) that you folks can recommend to ease the pain?

like image 765
Bostone Avatar asked Jan 20 '26 09:01

Bostone


2 Answers

Does OO code use Moose? If yes, it is possible to convert class declarations automatically using introspection.

To gradually convert Perl to Java, you can include Java code into Perl program with Inline::Java.

There is Perl on JVM project, maybe it can be used to compile Perl to Java?

like image 84
Alexandr Ciornii Avatar answered Jan 21 '26 23:01

Alexandr Ciornii


I'd say PLEAC is one of the greatest resources.

like image 35
Geo Avatar answered Jan 21 '26 23:01

Geo



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!