How do I find Perl version in Linux?

How do I find Perl version in Linux?
Answer
3 quick ways to find out the version number of an installed Perl module from the terminal
  1. Use CPAN with the -D flag. cpan -D Moose. …
  2. Use a Perl one-liner to load and print the module version number. …
  3. Use Perldoc with the -m flag to load the module’s source code and extract the version number.
 

Tìm kiếm

Back
Top