Skip to content
This repository has been archived by the owner on Oct 11, 2021. It is now read-only.

Latest commit

 

History

History
29 lines (20 loc) · 1.08 KB

README.markdown

File metadata and controls

29 lines (20 loc) · 1.08 KB

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.