gpt4 book ai didi

perl - 如何在 perlbrew 中显示所有可用的 perls?

转载 作者:行者123 更新时间:2023-12-04 00:00:12 26 4
gpt4 key购买 nike

我可以通过 perlbrew available

列出所有可用的 perls
kes@kes-X751SA ~ $ pb available

perl-5.32.0
perl-5.30.3
perl-5.28.3
perl-5.26.3
perl-5.24.4
perl-5.22.4
perl-5.20.3
perl-5.18.4
perl-5.16.3
perl-5.14.4
perl-5.12.5
perl-5.10.1
perl-5.8.9
perl-5.6.2
perl5.005_03
perl5.004_05
cperl-5.29.2
cperl-5.30.0
cperl-5.30.0-RC1

但此列表仅包含 最新 可用的 perls。例如,我没有从这个列表中看到当前从 perlbrew 安装的 perl

kes@kes-X751SA ~ $ which perl
/home/kes/perl5/perlbrew/perls/perl-5.24.1/bin/perl

我已经尝试过 perlbrew available --verbose 但这不是 full 列表:

kes@kes-X751SA ~ $ pb available --verbose

perl-5.32.0 available from <https://www.cpan.org/src/5.0/perl-5.32.0.tar.gz>
perl-5.30.3 available from <https://www.cpan.org/src/5.0/perl-5.30.3.tar.gz>
perl-5.28.3 available from <https://www.cpan.org/src/5.0/perl-5.28.3.tar.gz>
perl-5.26.3 available from <https://www.cpan.org/src/5.0/perl-5.26.3.tar.bz2>
perl-5.24.4 available from <https://www.cpan.org/src/5.0/perl-5.24.4.tar.gz>
perl-5.22.4 available from <https://www.cpan.org/src/5.0/perl-5.22.4.tar.bz2>
perl-5.20.3 available from <https://www.cpan.org/src/5.0/perl-5.20.3.tar.bz2>
perl-5.18.4 available from <https://www.cpan.org/src/5.0/perl-5.18.4.tar.bz2>
perl-5.16.3 available from <https://www.cpan.org/src/5.0/perl-5.16.3.tar.bz2>
perl-5.14.4 available from <https://www.cpan.org/src/5.0/perl-5.14.4.tar.bz2>
perl-5.12.5 available from <https://www.cpan.org/src/5.0/perl-5.12.5.tar.bz2>
perl-5.10.1 available from <https://www.cpan.org/src/5.0/perl-5.10.1.tar.bz2>
perl-5.8.9 available from <https://www.cpan.org/src/5.0/perl-5.8.9.tar.bz2>
perl-5.6.2 available from <https://www.cpan.org/src/5.0/perl-5.6.2.tar.gz>
perl5.005_03 available from <https://www.cpan.org/src/5.0/perl5.005_03.tar.gz>
perl5.004_05 available from <https://www.cpan.org/src/5.0/perl5.004_05.tar.gz>
cperl-5.29.2 available from <https://github.com/perl11/cperl/archive/cperl-5.29.2.tar.gz>
cperl-5.30.0-RC1 available from <https://github.com/perl11/cperl/archive/cperl-5.30.0-RC1.tar.gz>
cperl-5.30.0 available from <https://github.com/perl11/cperl/archive/cperl-5.30.0.tar.gz>

是否有显示所有可用 perls 的选项?

最佳答案

根据the documentation :

Usage: perlbrew available [--all]

List the recently available versions of perl on CPAN.

The list is retrieved from the web pagehttp://www.cpan.org/src/README.html, and is not the list of all perlversions ever released in the past.

To get a list of all perls ever released, use the --all option.

所以你可以使用:

$ perlbrew available --all

关于perl - 如何在 perlbrew 中显示所有可用的 perls?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/62875013/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com