Skip to content

Commit

Permalink
regenerated with dev-bin/generate-readme.pl
Browse files Browse the repository at this point in the history
  • Loading branch information
gugod committed Jan 4, 2014
1 parent 5d4d10c commit 1bf6acd
Showing 1 changed file with 17 additions and 6 deletions.
23 changes: 17 additions & 6 deletions README
Original file line number Diff line number Diff line change
Expand Up @@ -30,11 +30,11 @@ Installation:
to put it in your PATH.

The installed perlbrew command is a standalone executable that can be
run with system perl. The minimun system perl version requirement is
run with system perl. The minimum system perl version requirement is
5.8.0, which should be good enough for most of the OSes these days.

A packed version of "patchperl" to "~/perl5/perlbrew/bin", which is
required to build old perls.
A fat-packed version of "patchperl" is also installed to
"~/perl5/perlbrew/bin", which is required to build old perls.

The directory "~/perl5/perlbrew" will contain all install perl
executables, libraries, documentations, lib, site_libs. In the
Expand All @@ -46,6 +46,10 @@ Installation:
export PERLBREW_ROOT=/opt/perl5
curl -kL http://install.perlbrew.pl | bash

As a result, different users on the same machine can all share the same
perlbrew root directory (although only original user that made the
installation would have the permission to perform perl installations.)

You may also install perlbrew from CPAN:

cpan App::perlbrew
Expand Down Expand Up @@ -76,7 +80,7 @@ Configuration:
set this environment variable in your "bashrc" to the directory in
your shell RC before sourcing perlbrew's RC.

It is possible to share one perlbrew root with multilpe user account
It is possible to share one perlbrew root with multiple user account
on the same machine. Therefore people do not have to install the
same version of perl over an over. Let's say "/opt/perl5" is the
directory we want to share. All users should be able append this
Expand All @@ -85,7 +89,7 @@ Configuration:
export PERLBREW_ROOT=/opt/perl5
source ${PERLBREW_ROOT}/etc/bashrc

After doing so, everone's PATH should include "/opt/perl5/bin" and
After doing so, everyone's PATH should include "/opt/perl5/bin" and
"/opt/perl5/perls/${PERLBREW_PERL}/bin". Each user can invoke
"perlbrew switch" and "perlbrew use" to independently switch to
different perl environment of their choice. However, only the user
Expand Down Expand Up @@ -123,7 +127,7 @@ Configuration:
setting per-machine. To do so, you can use the "PERLBREW_HOME"
environment variable to tell perlbrew where to look for the
initialization file. Here's a brief bash snippet for the given
senario.
scenario.

if [ "$(hostname)" == "machine-a" ]; then
export PERLBREW_HOME=~/.perlbrew-a
Expand All @@ -133,6 +137,13 @@ Configuration:

source ~/perl5/perlbrew/etc/bashrc

PERLBREW_CONFIGURE_FLAGS
This environment variable specify the list of command like flags to
pass through to 'sh Configure'. By default it is '-de'.

PERLBREW_CPAN_MIRROR
The CPAN mirror url of your choice.

Project Development:
perlbrew project uses github
<http://github.com/gugod/App-perlbrew/issues> and RT
Expand Down

0 comments on commit 1bf6acd

Please sign in to comment.