Merge branch 'release/0.59' into develop
a bit exit status code handling in the perlbrew bash function to allow better shell scripting.

With this commit, the following shell script works as expected:

    #!/bin/bash
    eval "$(perlbrew init-in-bash)" ## init all PERLBREW_* vars only in this shell context

    perlbrew use 5.8.8 ## change to a version that might not exists
    if [[ $? -eq 0 ]]; then
      echo "worked"
    else
      echo "failed"
    fi

It should also work using `||` too.

    perlbrew use 5.8.8 || exit 1

The `switch` command also works this way, however it does have the side effect
that updates `$HOME/.perlbrew/init` file on successful invocation. This is
the expected behaviour.

Briefly tested with bash and zsh.
* Fixes issue #276
Fixed bug with perlbrew env where PERL5LIB would be unset

If PERL5LIB was naturally unset, perlbrew env wouldn't find the perlbrew
supplied PERL5LIB. I've fixed this, assuming that PERL5LIB is always
in the last position of PERL5LIB (which your code seemed to assume as well).
Fixed bashrc that perlbrew init generates

zsh could not find the command "command perlbrew" as it was looking for a
binary named "command perlbrew", complete with spaces. This commit pops
and eval in the subshells so that this is no longer an issue.

It also standardizes the use of eval and subshells where necessary.
Fix uninitialized warnings with perlbrew off
Merge pull request #286 from gvenkat/readme-typo

* Fixes issue #276
Should not have passed 'the default perl'
Merge pull request #289 from worr/perlbrew_off_warnings

Fix uninitialized warnings with `perlbrew off`
Merge pull request #288 from worr/fix_bashrc

Fixed bashrc that perlbrew init generates
Merge pull request #287 from worr/fix_perl5lib_env

Fixed bug with perlbrew env where PERL5LIB would be unset
Auto switch to wanted perl installation for building.

This script now depends on perlbrew itself, fancy.
rebuild.
add semi-colon to end of each shell commands so that shell interprets them as independent commands

Author:    Diab Jerius <djerius@cpan.org>
Committer: Diab Jerius <djerius@cpan.org>
fix tests to work with updated shell output

Author:    Diab Jerius <djerius@cpan.org>
Committer: Diab Jerius <djerius@cpan.org>
Merge pull request #290 from djerius/develop

add semi-colon to end of each shell commands so that shell interprets th...
non-core modules not loaded until they are really needed

This prevents having to install more modules than necessary, when installing
prerequisites by hand.
fix perl_releaes test by loading CPAN::Perl::Release there.
depend on local::lib 1.008009 and its fix for arch in PERL5LIB.
defer the requirement of File::Path and FindBin