To list the CPAN modules that are installed on a system, you can use the cpan
command and the -l
option.
For example, to list all installed CPAN modules, you can use the following command:
cpan -l
This will display a list of all installed CPAN modules, along with their version numbers.
You can also use the perldoc
command to list installed CPAN modules. For example, to list all installed modules that begin with the letter "D", you can use the following command:
perldoc -m D*
This will display a list of all installed CPAN modules that begin with the letter "D", along with a brief description of each module.
Alternatively, you can use the module-info
script, which is included in the CPAN
distribution. To list all installed modules, you can use the following command:
module-info
This will display a list of all installed CPAN modules, along with their version numbers and a brief description of each module.
You can also use the perl -M
command to list installed modules. For example, to list all installed modules that begin with the letter "D", you can use the following command:
perl -M D*
This will display a list of all installed modules that begin with the letter "D", along with a brief description of each module.