Skip to content

Latest commit

 

History

History
36 lines (22 loc) · 1.18 KB

README.md

File metadata and controls

36 lines (22 loc) · 1.18 KB

relocatable perl

Build Status

Perl can be built with relocatable enabled, which means you can move perl wherever you want!

I prepared relocatable enabled perls for linux and MacOS X. See release page.

how to install

Just download and extract it.

Let's say you use MacOS X, then:

> wget https://github.com/shoichikaji/relocatable-perl/releases/download/0.7/perl-darwin-2level.tar.gz
> tar xzf perl-darwin-2level.tar.gz
> mv perl-darwin-2level ~/my-favorite-name

That's all. Check out your perl works:

> ~/my-favorite-name/bin/perl -v
This is perl 5, version 20, subversion 1 (v5.20.1) built for darwin-2level

# cpanm is already installed. Install your favorite cpan module.
> ~/my-favorite-name/bin/cpanm LWP::UserAgent

how to build yourself

See Dockerfile and mac.sh.

docker image

https://registry.hub.docker.com/u/skaji/relocatable-perl