in reply to How to find out if it is 32bit or 64bit windows?
Then try this:#!perl use strict; use warnings; use CPAN; CPAN::Shell->install( "Params::Check", "Module::CoreList", "version", "Module::Load", "Locale::Maketext::Simple", "IPC::Cmd", "ExtUtils::CBuilder", "Config::General", "Win32API::Registry", "Win::TieRegistry", "Win32::OLE", "Win32API::Net", "Scalar::Util", "File::Spec", "File::Temp", "Exporter", "Capture::Tiny", "Sys::Info::Base", "Test::Sys::Info", "Test::Harness", "Test::More", "Sys::Info::Driver::Unknown", "Sys::Info::Driver::Windows::OS");
#!perl use strict; use warnings; use Sys::Info; use Sys::Info::Constants qw( :device_cpu ); my $info = Sys::Info->new; my $cpu = $info->device( 'CPU' ); printf "%s(%s bit)\n", scalar $cpu->identify, $cpu->bitness;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: How to find out if it is 32bit or 64bit windows?
by Anonymous Monk on Jun 22, 2011 at 07:01 UTC | |
by davido (Cardinal) on Jun 22, 2011 at 16:10 UTC | |
by BrowserUk (Patriarch) on Jun 22, 2011 at 16:31 UTC | |
by ikegami (Patriarch) on Jun 24, 2011 at 15:03 UTC | |
by BrowserUk (Patriarch) on Jun 24, 2011 at 16:05 UTC | |
| |
by Burak (Chaplain) on Jun 24, 2011 at 11:36 UTC | |
by davido (Cardinal) on Jun 24, 2011 at 15:52 UTC | |
by Burak (Chaplain) on Jun 27, 2011 at 00:25 UTC |