且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

仅在未加载require的情况下如何运行Perl脚本?

更新时间:2023-09-20 15:26:16

对于代码,有一种建议的Perl解决方案,该解决方案需要可以从脚本以及perl模块中运行.

There's a recommended Perl solution for code which needs to be runnable from a script as well as a perl module.

通常称为"modulino",可用作Google或SO搜索术语以查找操作方法.

It's usually called "modulino", which can be used as Google or SO search term to find how-tos.

以下是带有参考链接的操作方法:

Here's one how-to with reference links:

可用作程序并作为模块