Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Re^2: How to tell 32 or 64 bit

by bulk88 (Priest)
on Oct 08, 2012 at 15:09 UTC ( #997835=note: print w/replies, xml ) Need Help??


in reply to Re: How to tell 32 or 64 bit
in thread How to tell 32 or 64 bit

length(pack('J',0))
in the past I used that, but then I realized that 64 bit IVs but 32 bit pointers and machine code Perls existed, so it is wrong. Another good way to telling is
perl -MConfig -e "print $Config{ptrsize}"
which will return 4 or 8, and is NOT the IV size

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://997835]
help
Chatterbox?
NodeReaper buffs his metatarsals

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (4)
As of 2016-12-05 05:57 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    On a regular basis, I'm most likely to spy upon:













    Results (72 votes). Check out past polls.