Checking the version of a Perl module is a common task for Perl developers. There are a few different ways to do this, but the most common is to use the `perldoc` command. To check the version of a module, simply type `perldoc -v ` at the command line. For example, to check the version of the `CGI` module, you would type `perldoc -v CGI`. This will print the version number of the module to the console.
Knowing the version of a module is important for a few reasons. First, it can help you to determine if you have the latest version of the module installed. Second, it can help you to troubleshoot problems with the module. If you are having problems with a module, checking the version can help you to determine if the problem is caused by a bug in the module or if you are simply using an outdated version. Finally, knowing the version of a module can help you to stay up-to-date on the latest features and improvements to the module.