RE: Pulling PERL Exectuable x86 vs x64

2011-02-22 Thread Jan Dubois
Load Config.pm and look at $Config{ptrsize}.  It is either 4 or 8, telling you 
that you are running 32-bit or 64-bit Perl.

 

Cheers,

-Jan

 

From: perl-win32-users-boun...@listserv.activestate.com 
[mailto:perl-win32-users-boun...@listserv.activestate.com] On Behalf Of
Michael Cohen
Sent: Tuesday, February 22, 2011 1:06 PM
To: perl-win32-users@listserv.ActiveState.com
Subject: Pulling PERL Exectuable x86 vs x64

 

Is there a simple way to determine what flavor of PERL is running from within a 
program, specifically one that is wrapped within
PERLAPP?  In other words, I need to determine if the PERL is 32-bit or 64-bit, 
to determine if it is running in WoW64 or not.  I
realize it is easy to determine the flavor of the OS, but this is not that 
question. 

Regards,
Michael Cohen

___
Perl-Win32-Users mailing list
Perl-Win32-Users@listserv.ActiveState.com
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs


RE: Pulling PERL Exectuable x86 vs x64

2011-02-22 Thread Michael Cohen
Jan,

Thanks a lot!!   That did the trick.

Regards,
Michael Cohen



From:   Jan Dubois j...@activestate.com
To: Michael Cohen/Raleigh/IBM@IBMUS, 
perl-win32-users@listserv.ActiveState.com
Date:   02/22/2011 04:18 PM
Subject:RE: Pulling PERL Exectuable x86 vs x64



Load Config.pm and look at $Config{ptrsize}.  It is either 4 or 8, telling 
you that you are running 32-bit or 64-bit Perl.
 
Cheers,
-Jan
 
From: perl-win32-users-boun...@listserv.activestate.com [
mailto:perl-win32-users-boun...@listserv.activestate.com] On Behalf Of 
Michael Cohen
Sent: Tuesday, February 22, 2011 1:06 PM
To: perl-win32-users@listserv.ActiveState.com
Subject: Pulling PERL Exectuable x86 vs x64
 
Is there a simple way to determine what flavor of PERL is running from 
within a program, specifically one that is wrapped within PERLAPP?  In 
other words, I need to determine if the PERL is 32-bit or 64-bit, to 
determine if it is running in WoW64 or not.  I realize it is easy to 
determine the flavor of the OS, but this is not that question. 

Regards,
Michael Cohen
___
Perl-Win32-Users mailing list
Perl-Win32-Users@listserv.ActiveState.com
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs