Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

Re: How to tell 32 or 64 bit

by thomas895 (Hermit)
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." );


Comment on Re: How to tell 32 or 64 bit
Select or Download 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 cooling their heels in the Monastery: (11)
As of 2014-08-22 20:46 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The best computer themed movie is:











    Results (164 votes), past polls