https://github.com/fmenabe/perlenv
Virtualenv for perl
https://github.com/fmenabe/perlenv
Last synced: about 1 year ago
JSON representation
Virtualenv for perl
- Host: GitHub
- URL: https://github.com/fmenabe/perlenv
- Owner: fmenabe
- License: mit
- Created: 2013-08-08T17:21:27.000Z (almost 13 years ago)
- Default Branch: master
- Last Pushed: 2013-08-08T17:36:08.000Z (almost 13 years ago)
- Last Synced: 2025-05-21T16:50:58.539Z (about 1 year ago)
- Language: Shell
- Size: 109 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
perlenv
=======
This create a virtualenv for Perl based on local::lib. This a copy of the script
at https://bitbucket.org/jtopjian/penv/src/20bcd9049c95/penv.pl but with
possibility to change the prompt.
First you need to install local::lib package if it is not already done:
`*prompt*$ cpanp "i local::lib"`
For using environments:
1) create a new environment:
`*prompt*$ perlenv env --prompt "myproject"`
=> This create a directory *env* in the current directory.
2) activate the environment:
`*prompt*$ source env/bin/activate`
`(test)*prompt*$`
3) install packages, writing scripts, ...
4) quit environment:
`(test)*prompt*$ deactivate`
`*prompt*$`