in reply to Logical Operation - Numeric vs String
your best bet is to strip the primary version number and compare that...
(untested)$sw_fields[2] =~ m/^(\d*)/; # match the primary version if ($1 and $ver <= $1) { # do your stuff
jdporter reparented from 523716
|
|---|