A nice shortcut is
It is worth noting that perl -MSome::Module=9e9 -e1 works only if that module is Exporter-based, because -M passes that number as an import argument instead of a version number, but then Exporter interprets it as a version number.perl -e 'use Some::Module 9e9'
In reply to Re^2: Find perl module version from command-line
by ambrus
in thread Find perl module version from command-line
by lachoy
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |