Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Re^2: How to tell 32 or 64 bit

by flexvault (Monsignor)
on Oct 14, 2012 at 11:37 UTC ( #998952=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

bulk88,

I just used your code:

email7: perl -MConfig -E 'say $Config{archname};'
for 4 different Perls built on Linux and 3 built on AIX/Unix computers and none of them had 32 or 64 in the response. I then looped on the %Config hash with 'grep 32' for all platforms and nothing looks consistent between Linux and AIX/Unix. If the original question was for Windows, I guess it works, but it doesn't seem to be a platform independent solution.

Just a heads-up...Ed

Update: After commenting, I reread the original post and you're solution was right on for windows.

"Well done is better than well said." - Benjamin Franklin

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://998952]
help
Chatterbox?
[choroba]: We say "Eat breakfest alone, eat lunch with a friend, give dinner to an enemy"
[choroba]: But you know who's your greatest enemy, right? *wink*
[Discipulus]: so also the dinner alone?

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (7)
As of 2017-10-19 11:47 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My fridge is mostly full of:

















    Results (252 votes). Check out past polls.

    Notices?