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. :-)
In reply to Re: How to tell 32 or 64 bit
by thomas895
in thread How to tell 32 or 64 bit
by esr
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |