From e782cbe1ca2d5deac4ec93d8b0c6a3de3a09f444 Mon Sep 17 00:00:00 2001 From: Vitor Henrique <87824454+vitorhcl@users.noreply.github.com> Date: Tue, 9 Jan 2024 06:09:59 -0300 Subject: [PATCH] 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 --- pages/common/perlbrew.md | 37 +++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 pages/common/perlbrew.md diff --git a/pages/common/perlbrew.md b/pages/common/perlbrew.md new file mode 100644 index 000000000..eb6922638 --- /dev/null +++ b/pages/common/perlbrew.md @@ -0,0 +1,37 @@ +# perlbrew + +> Manage Perl installations in the home directory. +> See also: `asdf`. +> More information: . + +- 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}}`