Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
perlbrew [2014/05/21 01:26] popel |
perlbrew [2014/05/22 18:48] zeman perlbrew off |
||
---|---|---|---|
Line 5: | Line 5: | ||
Martin Popel | Martin Popel | ||
- | ==== How to setup the Perlbrew environment ==== | + | ===== How to setup the Perlbrew environment |
- | In your '' | + | Add to your '' |
source / | source / | ||
Line 13: | Line 13: | ||
The second line is optional, but it enables [[https:// | The second line is optional, but it enables [[https:// | ||
- | ==== How to use Perlbrew ==== | + | ===== How to use Perlbrew |
perlbrew list # Which perl versions are installed? | perlbrew list # Which perl versions are installed? | ||
perlbrew use perl-5.16.3 | perlbrew use perl-5.16.3 | ||
perlbrew switch perl-5.16.3 # use this perl version permanently | perlbrew switch perl-5.16.3 # use this perl version permanently | ||
+ | perlbrew off # return to the system installation of perl | ||
- | ==== How to install missing modules from CPAN ==== | + | ===== How to install missing modules from CPAN ===== |
If you see an error message such as '' | If you see an error message such as '' | ||
You can install it into the ÚFAL perlbrew repository, so it will be available also for others. | You can install it into the ÚFAL perlbrew repository, so it will be available also for others. | ||
Line 35: | Line 36: | ||
You can install the modules also manually ('' | You can install the modules also manually ('' | ||
- | ==== How to install new Perl version ==== | + | ===== How to install new Perl version |
perlbrew available | perlbrew available |