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

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


hello, Chunzi:

谢谢指点!!!


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


> Yu Zhiguo,您好!
> 
> http://search.cpan.org/~mzsanford/Sys-CPU-0.40/CPU.pm
> 
> ======= 2005-12-30 14:15:29 您在来信中写道:=======
> 
>>如何在PERL代码中的只CPU的architecture,比如32位还是64位?
>>应该有预定义变量的吧
>>
>>----- Original Message ----- 
>>From: "Joe Jiang" <joejiang799 at gmail.com>
>>To: <china-pm at pm.org>
>>Sent: Friday, December 30, 2005 9:26 AM
>>Subject: [PerlChina] mod_perl articles to translate at perl.com in thecoming new year
>>
>>
>>> 虽然 mod_perl 已经是 2002-2003 年之间就开始成熟的东西,但是仍然有必要仔细的学习,希望我们能通过翻译资料,彼此学习。提高在这个
>>> web server 开发的基础领域认识,方便我们进一步了解象 catalyst 这样较为高级的开发框架。以下为
>>> http://www.perl.com/pub/q/Article_Archive#mod_perl
>>> 提供的文章列表,已经转化为打印友善的链接(pub->lpt)。
>>> mod_perl
>>> 
>>> Integrating mod_perl with Apache 2.1
>>> Authentication<http://www.perl.com/lpt/a/2003/07/08/mod_perl.html>
>>> It's a good time to be a programmer. Apache 2.1 and mod_perl 2 make it
>>> tremendously easy to customize any part of the Apache request cycle. The
>>> more secure but still easy-to-use Digest authentication is now widely
>>> supported in web browsers. Geoffrey Young demonstrates how to write a custom
>>> handler that handles Basic and Digest authentication with ease. [Jul 8,
>>> 2003]
>>> 
>>> Testing mod_perl 2.0 <http://www.perl.com/lpt/a/2003/05/22/testing.html>
>>> Geoffrey Young examines another area of programming in mod_perl 2.0, testing
>>> your mod_perl scripts. [May 22, 2003]
>>> 
>>> Filters in Apache 2.0 <http://www.perl.com/lpt/a/2003/04/17/filters.html>
>>> Geoffrey Young, co-author of the renowned mod_perl Cookbook, brings us an
>>> introduction to Apache mod_perl 2.0, starting with Apache filters. [Apr 17,
>>> 2003]
>>> 
>>> Apache::VMonitor - The Visual System and Apache Server
>>> Monitor<http://www.perl.com/lpt/a/2003/04/02/mod_perl.html>
>>> In Stas' final article in his mod_perl series, we investigate how to monitor
>>> the performance and stability of our now fully-tuned mod_perl server using
>>> Apache::VMonitor. [Apr 2, 2003]
>>> 
>>> Improving mod_perl Sites' Performance: Part
>>> 8<http://www.perl.com/lpt/a/2003/03/04/mod_perl.html>
>>> In the penultimate of Stas Bekman's mod_perl articles, more of those obscure
>>> Apache settings which can really speed up your web server. [Mar 4, 2003]
>>> 
>>> Improving mod_perl Sites' Performance: Part
>>> 7<http://www.perl.com/lpt/a/2003/02/05/mod_perl.html>
>>> In this month's episode of Stas Bekman's mod_perl series, more on how
>>> settings in your Apache configuration can make or break performance. [Feb 5,
>>> 2003]
>>> 
>>> Improving mod_perl Sites' Performance: Part
>>> 6<http://www.perl.com/lpt/a/2003/01/07/mod_perl.html>
>>> In this month's episode of Stas Bekman's mod_perl series, how to correctly
>>> fork new processes under mod_perl. [Jan 7, 2003]
>>> 
>>> Improving mod_perl Sites' Performance: Part
>>> 5<http://www.perl.com/lpt/a/2002/12/04/mod_perl.html>
>>> Stas Bekman continues his series on optimizing mod_perl by examining more
>>> ways of saving on shared memory usage. [Dec 4, 2002]
>>> 
>>> Improving mod_perl Sites' Performance: Part
>>> 4<http://www.perl.com/lpt/a/2002/07/30/mod_perl.html>
>>> Your web server may have plenty of memory, but are you making the best use
>>> of it? Stas Bekman explains how to optimize Apache and mod_perl for the most
>>> efficient memory use. [Jul 30, 2002]
>>> 
>>> Improving mod_perl Sites' Performance: Part
>>> 3<http://www.perl.com/lpt/a/2002/07/16/mod_perl.html>
>>> This week, Stas Bekman explains how to use the Perl and mod_perl
>>> benchmarking and memory measurement tools to perform worthwhile
>>> optimizations on mod_perl programs. [Jul 16, 2002]
>>> 
>>> Improving mod_perl Sites' Performance: Part
>>> 2<http://www.perl.com/lpt/a/2002/06/19/mod_perl.html>
>>> Before making any optimizations to mod_perl applications, it's important to
>>> know what you need to be optimizing. Benchmarks are key to this, and Stas
>>> Beckman introduces the important tools for mod_perl benchmarking. [Jun 19,
>>> 2002]
>>> 
>>> Improving mod_perl Sites' Performance: Part
>>> 1<http://www.perl.com/lpt/a/2002/05/29/mod_perl-opt.html>
>>> What do we need to think about when optimizing mod_perl applications? Stas
>>> Bekman explains how hardware, software and good programming come into
>>> play. [May 29, 2002]
>>> 
>>> Finding a mod_perl ISP... or Becoming
>>> One<http://www.perl.com/lpt/a/2002/05/22/mod_perl-isp.html>
>>> You're ready to use mod_perl -- but do you have a server to run it on? Stas
>>> Bekman explains what an ISP needs to do to run mod_perl programs, and how to
>>> find an ISP that lets you do so. [May 22, 2002]
>>> 
>>> The Perl You Need To Know - Part
>>> 3<http://www.perl.com/lpt/a/2002/05/14/mod_perl.html>
>>> Stas Bekman finishes his introduction to the basic Perl skills you need to
>>> use mod_perl; this week, globals versus lexicals, modules and packages. [May
>>> 15, 2002]
>>> 
>>> The Perl You Need To Know - Part
>>> 2<http://www.perl.com/lpt/a/2002/05/07/mod_perl.html>
>>> Stas Bekman continues his mod_perl series by looking at the basic Perl
>>> skills you need to use mod_perl; this week, subroutines inside
>>> subroutines. [May 7, 2002]
>>> 
>>> The Perl You Need To Know<http://www.perl.com/lpt/a/2002/04/23/mod_perl.html>
>>> This week, Stas Bekman goes back to basics to explain some Perl topics of
>>> interest to his continuing mod_perl series. [Apr 23, 2002]
>>> 
>>> Installing mod_perl without superuser
>>> privileges<http://www.perl.com/lpt/a/2002/04/10/mod_perl.html>
>>> In his continuing series on mod_perl, Stas Bekman explains how to install a
>>> mod_perl-ized Apache on a server even if you don't have root
>>> privileges. [Apr 10, 2002]
>>> 
>>> mod_perl in 30 minutes <http://www.perl.com/lpt/a/2002/03/22/modperl.html>
>>> This week, Stas Bekman shows us how to install and configure mod_perl, and
>>> how to start accelerating CGI scripts with Apache::Registry. [Mar 22, 2002]
>>> 
>>> Why mod_perl? <http://www.perl.com/lpt/a/2002/02/26/whatismodperl.html>
>>> In the first of a series of articles from mod_perl guru, Stas Bekman, we
>>> begin by taking a look at what mod_perl is and what it can do for us. [Feb
>>> 26, 2002]
>>> 
>>> Creating Modular Web Pages With
>>> EmbPerl<http://www.perl.com/lpt/a/2001/03/embperl.html>
>>> If you have ever wished for an "include" HTML tag to reuse large chunks of
>>> HTML, you are in luck. Neil Gunton explains how Embperl solves the
>>> problem. [Mar 13, 2001]
>>> 
>>> 
>>> 
>>> 
>>> --
>>> God May Always Inspire Life => Gmail
>>>
>>
>>
>>--------------------------------------------------------------------------------
>>
>>
>>> _______________________________________________
>>> China-pm mailing list
>>> China-pm at pm.org
>>> http://mail.pm.org/mailman/listinfo/china-pm
>>_______________________________________________
>>China-pm mailing list
>>China-pm at pm.org
>>http://mail.pm.org/mailman/listinfo/china-pm
> 
> = = = = = = = = = = = = = = = = = = = =
> 
> 
>         致
> 礼!
> 
> 
>         Chunzi
>         chunzi at perlchina.org
>           2005-12-30
> 
> _______________________________________________
> 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