App-perlbrew icon indicating copy to clipboard operation
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

Open techwizardg opened this issue 8 years ago • 1 comments

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

techwizardg avatar Dec 13 '17 09:12 techwizardg

You can just specify the file on command line:

perlbrew install /opt/perl-5.26.1.tar.bz2

This should work just fine.

gugod avatar Dec 17 '17 00:12 gugod