in reply to Re: Get version of installed OSin thread Get version of installed OS
One another way to get specially for windows is
my $osname = Win32::GetOSName();
my ( $osvername, $major, $minor, $id ) = Win32::GetOSVersion();
print "osname: $osname\n";
print "osvername: $osvername\n";
print "major: $major\n";
print "minor: $minor\n";
print "id: $id\n";
True, though you didn't specify which OS you were using when you posted the question ;)
Update: I see you've just changed your question to specify OS. It'd make more sense if you'd posted that as an update to your post, like I've done here.
The ISS (or other satellites)
Results (312 votes). Check out past polls.