shell> perl -Mversion -le '$v1 = version->new("0.1.1"); $v2 = version- +>new("0.1002"); print $v1 > $v2 ? $v1 : $v2' # prints 0.1002
In reply to Re: Programmatically comparing module version numbers
by j1n3l0
in thread Programmatically comparing module version numbers
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |