Forrest logo
back to the plenv tool

plenv:tldr:a4b45

plenv: Set the global Perl version (used unless a local or shell version takes priority).
$ plenv global ${version}
try on your machine

The command "plenv global ${version}" is used to set the global version of Perl on your system using the plenv version management tool.

In this command, "${version}" is a placeholder for the desired version of Perl that you want to set as the global version. You need to replace "${version}" with the actual Perl version number or name you want to use.

When you run this command, plenv will set the specified Perl version as the global version. This means that whenever you run a Perl script or use Perl in your command-line, the system will default to using the specified version.

Setting a global version using plenv allows you to easily switch between different Perl versions on your system and ensures that all your Perl applications and scripts use the desired version without the need for explicit version specifications in each script.

This explanation was created by an AI. In most cases those are correct. But please always be careful and never run a command you are not sure if it is safe.
back to the plenv tool