perlbrew: add page (#12032)

* perlbrew: add page

---------

Co-authored-by: Sebastiaan Speck <12570668+sebastiaanspeck@users.noreply.github.com>
Co-authored-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>
pull/23/head
Vitor Henrique 2024-01-09 06:09:59 -03:00 committed by GitHub
parent 3c6f45734e
commit e782cbe1ca
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 37 additions and 0 deletions

37
pages/common/perlbrew.md Normal file
View File

@ -0,0 +1,37 @@
# perlbrew
> Manage Perl installations in the home directory.
> See also: `asdf`.
> More information: <https://github.com/gugod/App-perlbrew>.
- Initialize a `perlbrew` environment:
`perlbrew init`
- List available Perl versions:
`perlbrew available`
- Install/uninstall a Perl version:
`perlbrew {{install|uninstall}} {{version}}`
- List perl installations:
`perlbrew list`
- Switch to an installation and set it as default:
`perlbrew switch perl-{{version}}`
- Use the system Perl again:
`perlbrew off`
- List installed CPAN modules for the installation in use:
`perlbrew list-modules`
- Clone CPAN modules from one installation to another:
`perlbrew clone-modules {{source_installation}} {{destination_installation}}`