----- Original Message ----- 
From: "Bill Luebkert" <[EMAIL PROTECTED]>
To: "'perl-win32-users'" <[email protected]>
Sent: Thursday, May 24, 2007 4:22 AM
Subject: Re: Problem with Win32::GetOSVersion()


> Jan Dubois wrote:
>>
>> You are printing the PRODUCTTYPE value instead of the ID.  Use $s[4] 
>> instead
>> of $s[-1].
>
> Also note, if you're running in XP compatibility mode, you'll get 5 
> instead
> of 6 for major.

Doh!!!
I thought I must have been going mad .... seems I was right.

Thanks, guys.

Cheers,
Rob 

_______________________________________________
Perl-Win32-Users mailing list
[email protected]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Reply via email to