-
Notifications
You must be signed in to change notification settings - Fork 0
jjn1056/bootstrap-locallib.pl
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
NAME bootstrap-locallib.pl, version 0.03 SYNOPSIS perl [PATH]/bootstrap-locallib.pl OPTIONS Option Summary "t|target=s" => \$target, "b|basedir=s" => \$basedir, "a|affix=s" => \$affix, "w|whichperl=s" => \$whichperl, "d|local_env_helper=s" => \$env_helper, 'h|help' => \$help DESCRIPTION Script to make it easier to install and used the excellent local::lib perl module. For more information about local::lib please see: http://search.cpan.org/dist/local-lib This tool is designed to make it easier to install and manage multiple local::lib setups. However, the tool itself is relatively easy to setup, you may wish to read and follow the instructions linked about. This script performs two services: 1) provides a single commandline script which can be used to install multiple local::libs, 2) provides a helper script which you can use to initialize an installed local::lib for a given command EXAMPLES ALl examples assume you have the file 'bootstrap-locallib.pl' downloaded into a directory in your $PATH, and that it's been set to executable. Deploy a local::lib to $HOME/local-lib5 for the default interpreter bootstrap-locallib.pl Deploy a local::lib to $HOME/myapp-local-lib5 bootstrap-locallib.pl affix="myapp-local-lib5" Deploy a local::lib to /usr/local/lib/myapp-local-lib6 bootstrap-locallib.pl basedir="/usr/local/lib" affix="myapp-local-lib5" Deploy a local::lib to ./local bootstrap-locallib.pl --target ./local Invoke helper created in the above example to initialize local::lib for the current shell. ./local/bin/env perl -V Run straight from the Internet. curl -L http://github.com/jjn1056/bootstrap-locallib.pl/blob/master/bootstrap_locallib.pl | perl - --target local
About
a tiny script I use to help me setup multiple local::lib installations
Resources
Stars
Watchers
Forks
Packages 0
No packages published