如何将OO Perl转换为Java? [英] How can I convert OO Perl to Java?

查看:177
本文介绍了如何将OO Perl转换为Java?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我继承了OO Perl代码的大型单片体,需要逐步转换为Java(根据客户端请求)。我知道这两种语言,但我的Perl技能很生疏。有没有人可以推荐的工具(Eclipse插件?)来减轻痛苦?

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?

推荐答案

OO代码是否使用Moose?如果是,则可以使用内省自动转换类声明。

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

要逐步将Perl转换为Java,可以使用内联:: Java

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

有< a href =http://use.perl.org/~Ovid/journal/38837 =noreferrer> JVM项目上的Perl ,也许它可用于将Perl编译为Java?

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

这篇关于如何将OO Perl转换为Java?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆