- or download this
use Foo;
if (Foo->VERSION() < 1.56) {
...
if ($Foo::VERSION < 1.56) {
# do something...
}
- or download this
use Foo 1.56 # Die during compiletime if the minimum version is not me
+t.
- or download this
perl -MList::Util -E 'say List::Util->VERSION()'