Explanation of what is returned by Win32::GetOSVersion is of course in the docs:use Win32; print "$_\n" for Win32::GetOSVersion();
Win32::GetOSVersion() CORE Returns the array (STRING, MAJOR, MINOR, BUILD, ID), where the elements are, respectively: An arbitrary descriptive string, the major version number of the operating system, the minor version number, the build number, and a digit indicating the actual operating system. For ID, the values are 0 for Win32s, 1 for Windows 9X and 2 for Windows NT. In scalar context it returns just the ID.Simon Flack ($code or die)
In reply to Re: Windows Version Detection
by $code or die
in thread Windows Version Detection
by jlongino
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |