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

markpasc/localenv

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

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.

About

a "virtualenv.pl" style environment wrapper for bottled Perl environments with local::lib

Resources

License

Stars

Watchers

Forks