Forrest logo
back to the plenv tool

plenv:tldr:efd34

plenv: Set the shell-specific Perl version (used for the current session only).
$ plenv shell ${version}
try on your machine

The command "plenv shell ${version}" is used to set the Perl version to be used in a shell session. Here's how it works:

  • "plenv" is a command-line tool used for managing multiple Perl installations on a system. It enables you to easily switch between different versions of Perl.
  • The "shell" command is an argument passed to plenv to specify that you want to set the Perl version specifically for the shell session.
  • "${version}" is a placeholder that represents the desired Perl version number. You would replace it with the actual version number you want to use.

In summary, when you run the command "plenv shell ${version}", plenv will modify the shell environment to use the specified version of Perl for that particular session. Any Perl commands or scripts executed within that shell session will use the Perl version set by this command.

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