a "virtualenv.pl" style environment wrapper for bottled Perl environments with local::lib
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
LICENSE
README.markdown
localenv

README.markdown

localenv

localenv is a script for automatically shelling into and out of the environment configuration required to use a local::lib environment. It's rather like virtualenv for Python; in fact, the activate script it generates is cribbed mostly from virtualenv for Python.

localenv is designed to work with cpanminus for installing Perl modules.

Usage

$ localenv myenv
$ source myenv/bin/activate
(myenv)$ cpanm Bot::BasicBot::Pluggable  # or whatever
(myenv)$ perldoc -l Bot::BasicBot::Pluggable
/home/username/myenv/lib/perl5/Bot/BasicBot/Pluggable.pm
(myenv)$ deactivate
$ perldoc -l Bot::BasicBot::Pluggable
No documentation found for "Bot::BasicBot::Pluggable".

Requirements

Installation

  1. Copy the localenv script to your bin directory and make sure it's executable.