如何将Perl脚本转换为C#代码

编程入门 行业动态 更新时间:2024-10-28 09:26:36
本文介绍了如何将Perl脚本转换为C#代码的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

我有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解释器: docs.activestate/pdk/6.0/PerlNET_overview.html

这是Google在将Perl转换为.NET时给我的: www.codeproject/Questions/347719/how-to-将perl-to-net转换为

docs.activestate/pdk/6.0/PerlNET.html

docs.activestate/pdk/6.0/PerlNET.html

Hi ,

I have 3 perl scripts, need to convert it into c# code.

Please can you help me on this.

Please you can provide me your email id, so that i can share the scripts.

Thanks in advance.

Best Regards

Sanju Mordi

解决方案

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: docs.activestate/pdk/6.0/PerlNET_overview.html

This is what google gave me on the mater of Converting from Perl to .NET: www.codeproject/Questions/347719/how-to-convert-perl-to-net

docs.activestate/pdk/6.0/PerlNET.html

docs.activestate/pdk/6.0/PerlNET.html

更多推荐

如何将Perl脚本转换为C#代码

本文发布于:2023-10-07 15:54:15,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1469828.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:转换为   如何将   脚本   代码   Perl

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!