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 [download]
Only works on Windows, though. This is Just Another Way To Do It. :-)