January 31, 2012

Solaris: How to verify 64 bit Perl installation

Posted in Perl at 10:15 am by alessiodini

Today i needed to understand if a Perl installation was 32 or 64 bit.
Looking on the web i found that is possible to know this even using perl command itself , as follow:

system2 # perl -V:use64bitall
use64bitall=’undef’;
system2 # perl -V:use64bitint
use64bitint=’undef’;

With these commands there are 2 possibilities:
define = says “yes”
undefined = says “no”

So , where i ran these commands Perl running was in 32 bit.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: