Plenv - Manage Perl Versions

Manage multiple Perl versions with ease using Plenv. Install, switch, and manage Perl versions effortlessly. This guide provides comprehensive instructions and commands for effective Perl version management.

Plenv

Plenv simplifies Perl version management. This guide shows you how to install, switch, and manage different Perl versions.

Installing and Managing Perl Versions

plenv install --list  # List available Perl versions
plenv install <version> [Configure options]  # Install a specific Perl version
plenv global <version>  # Set the global default Perl version
plenv local <version>  # Set the local Perl version for the current directory

Working with Modules

plenv rehash  # Rehash after installing CPAN modules
plenv install-cpanm  # Install cpanm for the current Perl version
plenv migrate-modules <from-version> <to-version>  # Migrate modules between versions

Other Useful Commands

plenv which <program>  # Locate a program in the plenv path
plenv --version  # Display the current plenv version

Further Resources

For more information, refer to the official Plenv GitHub repository.

Learn more about Perl from the official Perl website.

Explore Perl documentation on perldoc.