Add the methods summarized yesterday to query which Perl modules have been installed locally. You can use either of the following methods:
Run the following statement in shell:
$ Perl-msmart: comments-El
If an error similar to the following is prompted, can't locate smart/comments. pm IN @ INC (@ INC contains: C:/strawberry/perl/lib C:/strawberry/perl/site/lib .).
It indicates that your Perl has not installed this module. If this module has been installed, nothing will happen.
You can also use a similar method for testing. For example, run the Perl use command directly from the shell:
$ Perl-e "use smart: Comments ;"
The use statement is directly followed. If this module exists, no error is reported. If this module does not exist, an error message is displayed.
IfCodeTo query and obtain information about the installed modules, you can use the extutils: Installed module.