Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
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 having an uproarious good time at the Monastery: (10)
As of 2014-10-01 15:19 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    What is your favourite meta-syntactic variable name?














    Results (29 votes), past polls