PMVERS(1p)
π PMVERS π
okay bestie, so this is pmvers β a lil tool from the User Contributed Perl Documentation crowd that prints out a module's version π
β¨ NAME β¨
pmvers β print out a module's version πΈ
π¦ DESCRIPTION π¦
So here's the vibe: you hand it one or more module names, and it shows you the version number if present. If you give it more than one argument, it'll also print the name of the module alongside the number β like, it knows you can't keep track of which line is which otherwise π«Ά
β οΈ but bestie, plot twist: not all modules define version numbers. Some of them simply woke up and chose chaos. If a module has no version, pmvers can't magic one out of thin air. π
π₯ EXAMPLES π₯
okay let's actually see it, no cap:
$ pmvers CGI
2.46
one module, one number, clean, iconic π
$ pmvers IO::Socket Text::Parsewords
IO::Socket: 1.25
Text::ParseWords: 3.1
two modules β now you get the names too, so you know who's who. main character labeling energy β¨
$ oldperl -S pmvers CGI
2.42
$ filsperl -S pmvers CGI
2.46
running it through different perls, different answers. it's giving context matters π
$ pmvers Devel::Loaded
pmvers: unknown version for module `Devel::Loaded'
and there it is β the no-version case. the module said "version? never heard of her" π
π SEE ALSO π
the whole squad, fr fr π
π AUTHORS and COPYRIGHTS π
Copyright (C) 1999 Tom Christiansen.
Copyright (C) 2006-2014 Mark Leighton Fisher.
π LICENSE π
This is free software; you can redistribute it and/or modify it under the terms of either: (a) the GNU General Public License as published by the Free Software Foundation; either version 1, or (at your option) any later version, or (b) the Perl "Artistic License". (This is the Perl 5 licensing scheme.)
π Please note this is a change from the original pmtools-1.00 (still available on CPAN), as pmtools-1.00 were licensed only under the Perl "Artistic License".
and that's the whole thing, bestie π§ that was perl v5.36.0, dated 2022-10-14 β slay, go check your module versions, ily, bye πβ¨
π¦ where this page comes from
- ubuntu noble: pmtools 2.2.0-3 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu questing: pmtools 2.2.0-3
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms