Perl与.NET的关系(来自Active的资料翻译)

hoowa 2002-06-15 02:40:14

Perl与.NET的关系(截选自 ActiveState.com的ASPN Reference中Vistual Perl guide)

本文是由Hoowa从Vistual Perl Guide翻译过来的一段,由于hoowa的英语水平只有初中,所以请大家凑合看吧。
hoowa强烈建议英语好的哥们能奉贤一下Vistual Perl Guide,并且希望大家能关注Perl

正文大意如下:
ActiveState的Perl Dev Kit(PDK)已经包含了PerlNET的界面(就是IDE),可以使用Perl来设计编译与.NET兼容的可执行程序、Lib库。PerlNET支持Vistual Perl(hoowa注:差不多就是一个东西了)。使用PerlNET与Vistual Perl您可以调试构造.NET的Perl应用程序。

PerlNET可以使用建立任何执行程序(包括使用.NET兼容的其他语言的库,例如C# 也包括VB.NET等,或许会有将来的Delphi.NET)或库(也是所有语言所有库)

构成PerlNET(部分翻译)

1.使用Vistual Perl项目向导(File|New|Project|Vistual Perl Projects),建立任意一个被管制的DLL库或被管制的可执行文件(hoowa注:这里被管制的是翻译来自Managed Code,所有.NET Frameworks下的应用程序所建立的文件都是被管制的Managed,所以所有被管制的程序与类库都能实现相互的调用)

2.After adding the desired code to the new program, modify the project's properties. On the CommandLine page of the Build folder, specify -d in the Additional Options field. Refer to the PerlNET section in the Perl Dev Kit documentation for a complete description of the configuration options.

3.Build the assembly by selecting Build|Build. This will generate an executable (Managed Exe) or a .dll library (Managed Dll).


构成.NET的一部分(部分翻译)

构成.NET的一部分需要经过方案参考,查看这个参考与.NET项目联系,展开参考的文件....expand the References folder under the project name in the Solution Explorer. To add a Reference, right-click the References folder and select "Add Reference". References associated with the .NET Framework are displayed on the ".NET" tab; to add a non-Framework Reference, click Browse... and navigate to the location of the component.

对以上“构成.NET的一部分的例子”
如果c#程序使用PerlNET的库,PerlNET库将添加C#项目到参考中.反过来,如果PerlNET执行C#的库,C#库将分配PerlNET项目的参考。

更多内容请见“多语言的调试关于.NET项目的内容”

Related Tutorial Topics: Using the Perl Dev Kit
叙述指南:using the Perl Dev Kit


上文就是对Perl & .NET的翻译,其中部分地方涉及具体Vistual Perl的操作没有进行翻译。


错误肯定不少,请见量。
hoowa
QQ:10974
www.iebuy.com
hoowa.tab.net.cn
hoowa@163.com

p.s:寻求一份Perl工作,如果有的请介绍!谢谢!
...全文
75 1 打赏 收藏 转发到动态 举报
写回复
用AI写文章
1 条回复
切换为时间正序
请发表友善的回复…
发表回复
D_Q 2002-10-15
  • 打赏
  • 举报
回复
呵呵 ~~ 飞云 到这里来询问工作?

37,720

社区成员

发帖
与我相关
我的任务
社区描述
JavaScript,VBScript,AngleScript,ActionScript,Shell,Perl,Ruby,Lua,Tcl,Scala,MaxScript 等脚本语言交流。
社区管理员
  • 脚本语言(Perl/Python)社区
  • IT.BOB
加入社区
  • 近7日
  • 近30日
  • 至今

试试用AI创作助手写篇文章吧