App-perlbrew
App-perlbrew copied to clipboard
How to change perl brew to take perl from a local folder as opposed to take it from internet as there is no internet connection in the machine
my $html = http_get("http://search.cpan.org/dist/perl-${version}", { 'Cookie' => "cpan=$mirror" });
unless ($html) {
die "ERROR: Failed to locate perl-${version} tarball.";
i need to change this to
Tar file of perl located locally at /opt/perl-5.26.1.tar.bz2
You can just specify the file on command line:
perlbrew install /opt/perl-5.26.1.tar.bz2
This should work just fine.