- Ubuntu
- Package management
- here
Installing the perl-doc package --perldoc command
Install the perl-doc package using the apt command so that you can use the perldoc command. Run with administrator privileges using sudo.
sudo apt install -y perl-doc
perldoc command
You can now use the perldoc command.
perldoc -f substr