Re: [PerlChina] 请问哪位知道PERL中如何得知CPU的架构

Yu Zhiguo yuzg at nanjing-fnst.com
Thu Dec 29 22:52:00 PST 2005


thanks joejiang

----- Original Message ----- 
From: "Joe Jiang" <joejiang799 at gmail.com>
To: <china-pm at pm.org>
Sent: Friday, December 30, 2005 2:42 PM
Subject: Re: [PerlChina] 请问哪位知道PERL中如何得知CPU的架构


> try to use sysinfo module please, cpan install Test::Smoke::SysInfo
> 
> 要想知道 linux 具体的位数还是用 sysctl,但是不可移植
> 
> On 12/30/05, Yu Zhiguo <yuzg at nanjing-fnst.com> wrote:
>>
>> 如何在PERL代码中的只CPU的architecture,比如32位还是64位?
>> 应该有预定义变量的吧
>>
>>
>


--------------------------------------------------------------------------------


> _______________________________________________
> China-pm mailing list
> China-pm at pm.org
> http://mail.pm.org/mailman/listinfo/china-pm


More information about the China-pm mailing list