http://qs321.pair.com?node_id=955350


in reply to RE: Find perl module version from command-line
in thread Find perl module version from command-line

A nice shortcut is

perl -e 'use Some::Module 9e9'
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.