In particular the original poster will want to check for 'MicrosoftWindows' or 'Unix'. The former includes both MSWin32 and Cygwin, the latter covers the whole broad church of Unix in one line of code, which is far easier than checking whether $^O is linux, or freebsd, or netbsd, or solaris, or ...