in reply to (jeffa) Re: Which flavor of Win32?
in thread Which flavor of Win32?

Good point! ++jeffa
The original had three cases:
Other Win32s
Win9x
WinNT

While this is definately better than the original, it still requires some work.
Update: Due to misunderstanding, I will post the original code.
#!/usr/bin/perl use strict; use warnings; use Win32; my $os; my ($string, $major, $minor, $build, $id) = Win32::GetOSVersion(); $os = "Unknown Win32s flavor" if ($id == 0); $os = "Win9x" if ($id == 1); $os = "WinNT" if ($id == 2); print "$os, version $major.$minor\n";

Who says that programmers can't work in the Marketing Department?
Or is that who says that Marketing people can't program?