I was able to cd into App-perlbrew and then perl perlbrew self-install and perlbrew is working but whenever it needs to connect to internet those specific commands are failing.
perlbrew command syntax:
perlbrew <command> [options] [arguments]
[~]$ perlbrew list
[~]$ perlbrew available
ERROR: Unable to retrieve the list of perls.
[~]$ perlbrew install perl-5.28.1
Fetching perl 5.28.1 as ~/perl5/perlbrew/dists/perl-5.28.1.tar.gz
Download http://www.cpan.org/src/5.0/perl-5.28.1.tar.gz to ~/perl5/per
Installing ~/perl5/perlbrew/build/perl-5.28.1/perl-5.28.1 into ~/perl5
This could take a while. You can run the following command on another
+shell to track the status:
tail -f ~/perl5/perlbrew/build.perl-5.28.1.log
Installation process failed. To spot any issues, check
You might also want to try upgrading patchperl before trying again:
Generally, if you need to install a perl distribution known to have mi
failures, do one of these commands to avoid seeing this message:
perlbrew --notest install perl-5.28.1
perlbrew --force install perl-5.28.1
[~]$ perlbrew install-patchperl
ERROR: Failed to retrieve patchperl executable.
The log file ~/perl5/perlbrew/build.perl-5.28.1.log has only one line sh: patchperl: command not found
Seems like my Linux machine is having problem in letting perlbrew connect to internet. :-(