Devel::Platform::Info::Win32 - Retrieve Windows platform metadata
use Devel::Platform::Info::Win32; my $info = Devel::Platform::Info::Win32->new(); my $data = $info->get_info();
This module is a driver to determine platform metadata regarding the Win32 operating system. It should be called indirectly via it's parent Devel::Platform::Info
Simply constructs the object.
Returns a hash reference to the Win32 platform metadata.
Returns the following keys:
source archname osname osvers oslabel is32bit is64bit osflag wow64
On a 64 bit Windows if you are running 32 bit perl the archname is likely to indicate x86. The wow64 variable will tell you if you are in fact running on x64 Windows.
The module cannot accurately tell the difference between the Windows Server 2003 and Windows Server 2003 R2.
The wow64 variable indicates whether or not you are running a 32 bit perl on a 64 bit windows. It uses the environment variable PROCESSOR_ARCHITEW6432 rather than the IsWow64Process call because it's simpler.
If you spot a bug or are experiencing difficulties, that is not explained within the POD documentation, please send bug reports and patches to the RT Queue (see below).
Barbie (BARBIE) <email@example.com> Brian McCauley (NOBULL) <firstname.lastname@example.org> Colin Newell (NEWELL) <email@example.com> Jon 'JJ' Allen (JONALLEN) <firstname.lastname@example.org>
Copyright (C) 2010-2012 Birmingham Perl Mongers This module is free software; you can redistribute it and/or modify it under the Artistic License 2.0.