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

(Replace the "???" with the missing information.)

Where can I check to replace the "???" missing information?, the code bdw works, thanks.... it seems ok even with <???>, can i leave it that way or delete, would that still be ok?

sorry im lost about to replace the missing string

thanks again..
  • Comment on Re^2: split OSVersion in two categories

Replies are listed 'Best First'.
Re^3: split OSVersion in two categories
by ikegami (Patriarch) on Nov 20, 2009 at 16:15 UTC
    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.

      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.