📜  Perl版本

📅  最后修改于: 2021-01-07 08:10:40             🧑  作者: Mango

Perl版本

Perl支持更多的操作系统平台。始终在系统上使用最新的perl版本。当前最新的perl版本是5.24.0。

如果您的Perl版本早于5.8.3,则CPAN最新版本模块可能不支持您的Perl。

Perl版本方案

在perl 5.6发行之后,将使用以下策略。

  • 准备用于生产的维护分支为偶数(5.8、5.10、5.12、5.14等)。
  • 维护版本的子分支(如5.8.1、5.8.2、5.13.1等)仅用于错误修复。
  • 开发分支为奇数(5.9、5.11、5.13、5.15等)。

不再支持5.20之前的版本。

操作系统信息

Operating System Binaries Sources
Unix/Linux Perl may be already installed in a Unix system. Check it using perl -v command.
Install latest perl version from ActiveState perl site.
Have a look at App::perlbrew to compile and manage perl from source.
From perl source code, you can find more information about current perl releases.
Windows Perl is not installed on windows by default.ActiveState perl site offers both free and commercially supported version.
Strawberry perl is open-source perl for windows which is same as others and include CPAN modules rather than binary packages.
DWIM perl for windows is open source perl for windows based on Strawberry perl. It includes as much as CPAN modules as possible. It comes with Padre, the Perl IDE.
Have a look at App::perlbrew to compile and manage perl from source.From perl source code, you can find more information about current perl releases.
Mac OS X It already has perl installed. To find the version run perl -v command.Latest version of perl can get from ActiveState perl site. Have a look at App::perlbrew to compile and manage perl from source.From perl source code, you can find more information about current perl releases.