I wanted to try the MetaCPAN::Client module so I ran cpanm and installed it. That was when I realized how many dependencies it has! This module and its dependencies consumed over 16MB of disk space and took over an hour to install. Please understand I have nothing against this module. I know it has many useful features and I realize these dependencies are needed for it to do all the things it does, but in my opinion it is a bit of overkill just to see the version number. You may want to consider using the $^V system variable to get the current version:
my $version = $^V;
Produces the following output: v5.24.1
"Its not how hard you work, its how much you get done."