I can list all available perls via perlbrew available
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
But this list only contain latest
available perls. For example I did not see from this list currently installed perl from perlbrew
kes@kes-X751SA ~ $ which perl
/home/kes/perl5/perlbrew/perls/perl-5.24.1/bin/perl
I have tried perlbrew available --verbose
but this is not the full
list:
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>
Is there an option which displays all available perls?
According to the documentation:
Usage:
perlbrew available [--all]
List the recently available versions of perl on CPAN.
The list is retrieved from the web page http://www.cpan.org/src/README.html, and is not the list of all perl versions ever released in the past.
To get a list of all perls ever released, use the
--all
option.
so you can use:
$ perlbrew available --all