Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re: How to tell 32 or 64 bit

by thomas895 (Chaplain)
on Oct 09, 2012 at 04:01 UTC ( #997917=note: print w/replies, xml ) Need Help??


in reply to How to tell 32 or 64 bit

Alternatively:

C:\> perl -MConfig -E "$t=[split(/-/,$Config{archname})]->[1];printf(q +{%d bit},$t eq "x86"?32:64)" 32 bit

Only works on Windows, though.
This is Just Another Way To Do It. :-)

~Thomas~
confess( "I offer no guarantees on my code." );

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://997917]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others romping around the Monastery: (5)
As of 2016-10-01 23:25 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    How many different varieties (color, size, etc) of socks do you have in your sock drawer?






    Results (9 votes). Check out past polls.