Might System::Info help?
C:\> cpan System::Info C:\> perl -MSystem::Info -wE"say System::Info->new->os" MSWin32 - Win7 Professional (64-bit) SP1
In reply to Re: Get version of installed OS
by Tux
in thread Get version of installed OS
by bimleshsharma
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |