开发者

How can I translate a perl script to Java? [duplicate]

This question alre开发者_如何学Goady has answers here: Closed 12 years ago.

Possible Duplicate:

How can I convert OO Perl to Java?

Hello.

I have a perl script and I want to translate it to Java.

Is there any translator/conversor from perl script to Java?

By the way, I'm developing an Android 2.2 application.

EDIT

I have closed the question. Stop downvoting me!!!!!! And if you downvote tell us why!!

Thanks.


You should consider using the Android Scripting Environment so that you can just use your Perl script rather than having to "translate" it to Java (especially if you plan on relying on some translation tool to do it).

It supports Perl, along with Python, Ruby, and some others.


Just my two cents...

I would convert the Perl to Java by hand that way you are 100% in control of the Java code running in your Android application and that way you will understand what the Perl code is actually doing rather than relying on it to work when there is a bug in your Android app.


No. There's the JPL project from the 90's that might've been a workaround, but I'm pretty sure it fell apart along the road.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜