如何在不安装解释器的情况下部署Perl/Python/Ruby脚本? [英] How can I deploy a Perl/Python/Ruby script without installing an interpreter?
问题描述
我想写一个软件,本质上是一个正则表达式数据清理器.我将使用CSV格式的联系人列表,并从此人的姓名中删除所有非单词字符等.
I want to write a piece of software which is essentially a regex data scrubber. I am going to take a contact list in CSV and remove all non-word characters and such from the person's name.
该项目的内容全部由Perl编写,但是我的客户群基本上不是技术人员,因此在Windows上安装Perl对他们来说不值得.
This project has Perl written all over it but my client base is largely non-technical and installing Perl on Windows would not be worth it for them.
关于如何使用Perl/Python/Ruby类型语言而又不用在计算机上安装解释器的所有麻烦的任何想法吗?
Any ideas on how I can use a Perl/Python/Ruby type language without all the headaches of getting the interpreter on their computer?
想一想网络,但是由于商业原因却无法正常工作.
Thought about web for a second but it would not work for business reasons.
推荐答案
您可以使用 Perl存档工具包带上最少的perl核心+所需的模块+您的Perl程序.
You can use Perl Archive Toolkit to bring a minimal perl core + needed modules + your Perl program with you.
您甚至可以使用 PAR Packer 将其转换为将运行的Windows exe文件与其他任何程序一样,从最终用户的角度来看.
And you can even convert it using PAR Packer to a windows exe file that will run just like any other program, from an end user's perspective.
这篇关于如何在不安装解释器的情况下部署Perl/Python/Ruby脚本?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!