in reply to Logical Operation - Numeric vs String

Think of your version numbers as v-strings (vector strings, IIRC).  Therefore:  if(sprintf("%vd", $ver) le sprintf("%vd", $sw_fields[2])) { ... }

This probably isn't correct as this is the first thing that came into my head and the time is early morning... :P

jdporter reparented from 523716