Your requirements are at odds with each other. The first step of running a Perl 5 program is compiling. Your best bet is the GPLv3, it requires anyone who distributes a compiled version to also provide a method to retrieve the source.
Most of the methods of making a binary out of a Perl 5 script (which I think you are confusing with compiling) aren't actually compiling. They are packaging. The source is still present in the binary and is compiled at run-time by an included copy of the perl binary.
发布评论
评论(1)
你们的要求互相矛盾。运行 Perl 5 程序的第一步是编译。您最好的选择是 GPLv3,它要求分发编译版本的任何人也提供方法来检索源。
大多数从 Perl 5 脚本中生成二进制文件的方法(我认为您对编译感到困惑)实际上并没有进行编译。他们正在包装。源代码仍然存在于二进制文件中,并在运行时由
perl
二进制文件的包含副本进行编译。Your requirements are at odds with each other. The first step of running a Perl 5 program is compiling. Your best bet is the GPLv3, it requires anyone who distributes a compiled version to also provide a method to retrieve the source.
Most of the methods of making a binary out of a Perl 5 script (which I think you are confusing with compiling) aren't actually compiling. They are packaging. The source is still present in the binary and is compiled at run-time by an included copy of the
perl
binary.