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
new
Simply constructs the object.
get_info
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).
RT Queue: http://rt.cpan.org/Public/Dist/Display.html?Name=Devel-Platform-Info
Barbie (BARBIE) <barbie@cpan.org> Brian McCauley (NOBULL) <nobull67@gmail.com> Colin Newell (NEWELL) <newellc@cpan.org> Jon 'JJ' Allen (JONALLEN) <jj@jonallen.info>
Copyright (C) 2010-2019 Birmingham Perl Mongers This distribution is free software; you can redistribute it and/or modify it under the Artistic License 2.0.
To install Devel::Platform::Info, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Devel::Platform::Info
CPAN shell
perl -MCPAN -e shell install Devel::Platform::Info
For more information on module installation, please visit the detailed CPAN module installation guide.