如何使用Strawberry

如何使用Strawberry

本文介绍了如何使用Strawberry Perl将Perl脚本编译为Windows可执行文件?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

使用Strawberry Perl在Windows下将简单的Perl脚本编译为可执行文件的最简单方法是什么(据我了解这是可能且免费的)?

What would be the easiest way to compile a simple Perl script to an executable under Windows with Strawberry Perl (as I understand it's possible and free)?

过去,我使用过ActiveState编译器和perl2exe,而且非常简单.但是,现在在进行了几台计算机更改和操作系统更新之后,我已经失去了许可证,我想找到一个更好/永久的解决方案.

In the past I've used ActiveState compiler and perl2exe and was simple enough. However, now after a few computer changes and OS updates I've lost the licenses and I'd like to find a better/permanent solution.

推荐答案

从CPAN安装 PAR:Packer (免费)并使用pp实用程序.

Install PAR::Packer from CPAN (it is free) and use pp utility.

这篇关于如何使用Strawberry Perl将Perl脚本编译为Windows可执行文件?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-31 05:53