in reply to Re^2: split OSVersion in two categories
in thread split OSVersion in two categories

It won't work if you're on one of the systems that has "???" in its key. You could get the info by running GetOSVersion on those systems.
  • Comment on Re^3: split OSVersion in two categories

Replies are listed 'Best First'.
Re^4: split OSVersion in two categories
by nico7nibor (Novice) on Nov 23, 2009 at 03:42 UTC

    Thanks, il try to check the other system with old OSes...

    I have one more qn, with regards to ($id, $major, $minor, $prod_type) = ( Win32::GetOSVersion() )4,1,2,8;

    what does the numbers 4,1,2,8 mean, esp number 8. I know it has something to do with the prodtype but i cant seem comprehend the logic

    thanks
      (...)[...] is a list slice. The second part indexes the element returned by the first part.