如何将Perl脚本转换为C#代码 [英] How to convert perl script to c# code
问题描述
我有3个perl脚本,需要将其转换为c#代码.
请帮助我.
请您提供给我您的电子邮件ID,以便我共享脚本.
谢谢.
最好的问候
Sanju Mordi
您不必以C#代码结尾.任何一种.NET语言都可以使用.我说这是为了防止您误解了.NET Framework的功能.
在我刚刚阅读时,Perl 5和6看起来很不一样,因此您可能需要指定正在讨论的两者中的一个.
您有3个选择:
1.是将代码从Perl转换为任何.NET语言.
2.是使用.NET perl解释器调用perl代码.
3.将在Perl解释器和.NET程序之间使用某种形式的进程间通信.您似乎至少可以运行一些.NET Perl解释器:
http://docs.activestate.com/pdk/6.0/PerlNET_overview.html这是Google在将Perl转换为.NET时给我的:
http://www.codeproject.com/Questions/347719/how-to-将perl-to-net转换为
You do not have to end up with C# code. Any of the .NET languages would work. I say it just in case you missunderstood that feature of the .NET Framework.
As I just read up it appears Perl 5 and 6 and very different, so you might need to specify wich of the two you are talking about.
You have 3 options:
1. is to covert the code from Perl to any .NET language.
2. is to call the perl code using a .NET perl interpreter.
3. would be to use some form of Interprocess communication between the Perl interprete and the .NET Programm.There appears to be at least some .NET Perl interpreters you can run:
http://docs.activestate.com/pdk/6.0/PerlNET_overview.htmlThis is what google gave me on the mater of Converting from Perl to .NET:
http://www.codeproject.com/Questions/347719/how-to-convert-perl-to-net
这篇关于如何将Perl脚本转换为C#代码的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!