如何在不安装解释器的情况下部署 Perl/Python/Ruby 脚本? [英] How can I deploy a Perl/Python/Ruby script without installing an interpreter?

查看:38
本文介绍了如何在不安装解释器的情况下部署 Perl/Python/Ruby 脚本?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想编写一个软件,它本质上是一个正则表达式数据清理器.我将采用 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 Archive Toolkit 带上最小的 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屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆