From sunnavy at gmail.com Wed Apr 4 09:06:53 2007 From: sunnavy at gmail.com (sun navy) Date: Thu, 5 Apr 2007 00:06:53 +0800 Subject: [PerlChina] =?utf-8?b?WUFQQzo6QmVpamluZyAyMDA35L2V5pe25Y+s5byA?= =?utf-8?b?77yf?= Message-ID: <26447730704040906n5fb6cc2fofedf6d8e7901231@mail.gmail.com> 似乎没有动静了,怎么回事? -- sunnavy From a.r.ferreira at gmail.com Wed Apr 4 10:38:36 2007 From: a.r.ferreira at gmail.com (Adriano Ferreira) Date: Wed, 4 Apr 2007 14:38:36 -0300 Subject: [PerlChina] =?gb2312?b?WUFQQzo6QmVpamluZyAyMDA3us7KsdXZv6qjvw==?= In-Reply-To: <26447730704040906n5fb6cc2fofedf6d8e7901231@mail.gmail.com> References: <26447730704040906n5fb6cc2fofedf6d8e7901231@mail.gmail.com> Message-ID: <73ddeb6c0704041038o38843fc3r4271d0545c384d73@mail.gmail.com> I can't read what you said but it looks like something worthy to publish on use.perl and PerlMonks, if only for others to know what's going about Perl in China. On 4/4/07, sun navy wrote: > 似乎没有动静了,怎么回事? > > > -- > sunnavy > _______________________________________________ > China-pm mailing list > China-pm at pm.org > http://mail.pm.org/mailman/listinfo/china-pm From shijialee at gmail.com Wed Apr 4 17:14:27 2007 From: shijialee at gmail.com (Qiang ( James ) Li) Date: Wed, 04 Apr 2007 20:14:27 -0400 Subject: [PerlChina] =?utf-8?b?WUFQQzo6QmVpamluZyAyMDA35L2V5pe25Y+s5byA?= =?utf-8?b?77yf?= In-Reply-To: <26447730704040906n5fb6cc2fofedf6d8e7901231@mail.gmail.com> References: <26447730704040906n5fb6cc2fofedf6d8e7901231@mail.gmail.com> Message-ID: <46143F63.1020204@gmail.com> 这是我所了解的: 大会计划的时间是 5/19 - 5/20。nomas 正在准备,应该很快就要开始宣传了。 cnhacktnt 正在制作大会的网站。 其他的就等 nomas 吧。 Qiang sun navy wrote: > 似乎没有动静了,怎么回事? > > From pangj at earthlink.net Wed Apr 4 17:33:10 2007 From: pangj at earthlink.net (Jeff Pang) Date: Thu, 5 Apr 2007 08:33:10 +0800 (GMT+08:00) Subject: [PerlChina] =?utf-8?b?WUFQQzo6QmVpamluZyAyMDA35L2V5pe25Y+s5byA?= =?utf-8?b?77yf?= Message-ID: <15916993.1175733190851.JavaMail.root@elwamui-rustique.atl.sa.earthlink.net> >I can't read what you said but it looks like something worthy to >publish on use.perl and PerlMonks, if only for others to know what's >going about Perl in China. > Hello, Someone asked with Chinese when the YAPC::Beijing meeting should get started. Then Qiang said it would hold on 5/18 - 5/19.It's on the preparing process right now. Anyway,welcome to Perl China. -- mailto: pangj at earthlink.net http://home.arcor.de/jeffpang/ From shijialee at gmail.com Wed Apr 4 17:34:41 2007 From: shijialee at gmail.com (Qiang ( James ) Li) Date: Wed, 04 Apr 2007 20:34:41 -0400 Subject: [PerlChina] =?utf-8?b?WUFQQzo6QmVpamluZyAyMDA35L2V5pe25Y+s5byA?= =?utf-8?b?77yf?= In-Reply-To: <73ddeb6c0704041038o38843fc3r4271d0545c384d73@mail.gmail.com> References: <26447730704040906n5fb6cc2fofedf6d8e7901231@mail.gmail.com> <73ddeb6c0704041038o38843fc3r4271d0545c384d73@mail.gmail.com> Message-ID: <46144421.7070101@gmail.com> Adriano Ferreira wrote: > I can't read what you said but it looks like something worthy to > publish on use.perl and PerlMonks, if only for others to know what's > going about Perl in China. May 19 - May 20. PerlChina is preparing a workshop in Beijing( we had one last year around the same time.). That's all i know about. I will make sure that it get posted on use.perl later when i get more information. Qiang > > On 4/4/07, sun navy wrote: >> 似乎没有动静了,怎么回事? >> >> >> -- >> sunnavy >> _______________________________________________ >> 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 From cnhacktnt at gmail.com Wed Apr 4 20:50:58 2007 From: cnhacktnt at gmail.com (cnhacktnt) Date: Thu, 05 Apr 2007 11:50:58 +0800 Subject: [PerlChina] =?utf-8?b?WUFQQzo6QmVpamluZyAyMDA35L2V5pe25Y+s5byA?= =?utf-8?b?77yf?= In-Reply-To: <26447730704040906n5fb6cc2fofedf6d8e7901231@mail.gmail.com> References: <26447730704040906n5fb6cc2fofedf6d8e7901231@mail.gmail.com> Message-ID: <46147222.5000508@gmail.com> hi,sun navy! 因为有些预料外的因素导致大会进度有些延滞,不过请相信我们还活动着呵呵, 感谢大家的关注!!~~~非常感谢:-) sun navy wrote: > 似乎没有动静了,怎么回事? > > > From nomas.zhou at gmail.com Thu Apr 5 07:24:25 2007 From: nomas.zhou at gmail.com (nomas) Date: Thu, 5 Apr 2007 22:24:25 +0800 Subject: [PerlChina] =?gb2312?b?WUFQQzo6QmVpamluZyAyMDA3us7KsdXZv6qjvw==?= In-Reply-To: <26447730704040906n5fb6cc2fofedf6d8e7901231@mail.gmail.com> References: <26447730704040906n5fb6cc2fofedf6d8e7901231@mail.gmail.com> Message-ID: <158876750704050724t2294c909lbae592fe188eba4e@mail.gmail.com> 抱歉,这件事情一直在运作。请大家继续关注。 在07-4-5,sun navy 写道: > > 似乎没有动静了,怎么回事? > > > -- > sunnavy > _______________________________________________ > China-pm mailing list > China-pm at pm.org > http://mail.pm.org/mailman/listinfo/china-pm -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.pm.org/pipermail/china-pm/attachments/20070405/49d34ea5/attachment.html From zhuzhu at perlchina.org Thu Apr 5 07:41:14 2007 From: zhuzhu at perlchina.org (Zhu Zhu) Date: Thu, 05 Apr 2007 22:41:14 +0800 Subject: [PerlChina] =?utf-8?b?WUFQQzo6QmVpamluZyAyMDA35L2V5pe25Y+s5byA?= =?utf-8?b?77yf?= In-Reply-To: <158876750704050724t2294c909lbae592fe188eba4e@mail.gmail.com> References: <26447730704040906n5fb6cc2fofedf6d8e7901231@mail.gmail.com> <158876750704050724t2294c909lbae592fe188eba4e@mail.gmail.com> Message-ID: 其实我也在关注,原来NOMAS是这位大哥 我的MSN上有。。。 在 Thu, 05 Apr 2007 22:24:25 +0800,nomas 写道: > 抱歉,这件事情一直在运作。请大家继续关注。 > > 在07-4-5,sun navy 写道: >> >> 似乎没有动静了,怎么回事? >> >> >> -- >> sunnavy >> _______________________________________________ >> China-pm mailing list >> China-pm at pm.org >> http://mail.pm.org/mailman/listinfo/china-pm -- 使用 Opera 革命性的电子邮件客户程序: http://www.opera.com/mail/ From pangj at earthlink.net Thu Apr 5 08:46:36 2007 From: pangj at earthlink.net (Jeff Pang) Date: Thu, 5 Apr 2007 11:46:36 -0400 (EDT) Subject: [PerlChina] =?utf-8?b?WUFQQzo6QmVpamluZyAyMDA35L2V5pe25Y+s5byA?= =?utf-8?b?77yf?= Message-ID: <30100259.1175787997613.JavaMail.root@elwamui-karabash.atl.sa.earthlink.net> > >在 Thu, 05 Apr 2007 22:24:25 +0800,nomas 写道: > >> 抱歉,这件事情一直在运作。请大家继续关注。 >> Just be curious,what's the topic for this meeting? -- mailto: pangj at earthlink.net http://home.arcor.de/jeffpang/ From alexe.cn at gmail.com Sun Apr 8 05:44:34 2007 From: alexe.cn at gmail.com (alexe.cn at gmail.com) Date: Sun, 8 Apr 2007 20:44:34 +0800 Subject: [PerlChina] =?gb2312?b?WUFQQzo6QmVpamluZyAyMDA3us7KsdXZv6qjvw==?= In-Reply-To: <30100259.1175787997613.JavaMail.root@elwamui-karabash.atl.sa.earthlink.net> References: <30100259.1175787997613.JavaMail.root@elwamui-karabash.atl.sa.earthlink.net> Message-ID: <4590d5230704080544q4632c455yd78df21e6ddaa2e0@mail.gmail.com> 关注。 在 07-4-5,Jeff Pang 写道: > > > >在 Thu, 05 Apr 2007 22:24:25 +0800,nomas 写道: > > > >> 抱歉,这件事情一直在运作。请大家继续关注。 > >> > > Just be curious,what's the topic for this meeting? > > -- > mailto: pangj at earthlink.net > http://home.arcor.de/jeffpang/ > _______________________________________________ > China-pm mailing list > China-pm at pm.org > http://mail.pm.org/mailman/listinfo/china-pm -- +-----------------------------------------------+ |By Alexe (http://alexe.cublog.cn)| +----------------------------------------------+ From anderslee2003 at gmail.com Sun Apr 8 18:58:56 2007 From: anderslee2003 at gmail.com (Anders Lee) Date: Mon, 9 Apr 2007 10:58:56 +0900 Subject: [PerlChina] =?gb2312?b?WUFQQzo6QmVpamluZyAyMDA3us7KsdXZv6qjvw==?= In-Reply-To: <4590d5230704080544q4632c455yd78df21e6ddaa2e0@mail.gmail.com> References: <30100259.1175787997613.JavaMail.root@elwamui-karabash.atl.sa.earthlink.net> <4590d5230704080544q4632c455yd78df21e6ddaa2e0@mail.gmail.com> Message-ID: <4001da2f0704081858p2cb00a55r7027742835d5b33c@mail.gmail.com> 我和大家一样也很关注perl。 可我的主要工作基本上不用perl,perl也就是用来完成一些辅助的工作, 比如制作简单的自动化工具什么的。 大家谈谈自己的工作内容,如何?在哪些方面使用perl? 对perl兴趣多一些呢,还是别的呢? On 4/8/07, alexe.cn at gmail.com wrote: > > 关注。 > > > 在 07-4-5,Jeff Pang 写道: > > > > > >在 Thu, 05 Apr 2007 22:24:25 +0800,nomas 写道: > > > > > >> 抱歉,这件事情一直在运作。请大家继续关注。 > > >> > > > > Just be curious,what's the topic for this meeting? > > > > -- > > mailto: pangj at earthlink.net > > http://home.arcor.de/jeffpang/ > > _______________________________________________ > > China-pm mailing list > > China-pm at pm.org > > http://mail.pm.org/mailman/listinfo/china-pm > > > -- > +-----------------------------------------------+ > |By Alexe (http://alexe.cublog.cn)| > +----------------------------------------------+ > _______________________________________________ > China-pm mailing list > China-pm at pm.org > http://mail.pm.org/mailman/listinfo/china-pm -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.pm.org/pipermail/china-pm/attachments/20070409/c127342e/attachment.html From shijialee at gmail.com Sun Apr 8 19:41:55 2007 From: shijialee at gmail.com (Qiang ( James ) Li) Date: Sun, 08 Apr 2007 22:41:55 -0400 Subject: [PerlChina] =?gb2312?b?UGVybCDKudPD?= In-Reply-To: <4001da2f0704081858p2cb00a55r7027742835d5b33c@mail.gmail.com> References: <30100259.1175787997613.JavaMail.root@elwamui-karabash.atl.sa.earthlink.net> <4590d5230704080544q4632c455yd78df21e6ddaa2e0@mail.gmail.com> <4001da2f0704081858p2cb00a55r7027742835d5b33c@mail.gmail.com> Message-ID: <4619A7F3.7040606@gmail.com> Anders Lee wrote: > 我和大家一样也很关注perl。 > 可我的主要工作基本上不用perl,perl也就是用来完成一些辅助的工作, > 比如制作简单的自动化工具什么的。 > 大家谈谈自己的工作内容,如何?在哪些方面使用perl? > 对perl兴趣多一些呢,还是别的呢? Perl 的功能很多。我工作的地方主要使用 Perl 写网络程序 ( 用 CGI::Application ),其次是做系统自动化 ( 分析 log 等 ) 。 另外,这是个老话题了。perlchina 和 chinaunix 上都有类似的帖子。 Qiang From honghunter at gmail.com Sun Apr 8 20:54:52 2007 From: honghunter at gmail.com (zongzi) Date: Mon, 9 Apr 2007 11:54:52 +0800 Subject: [PerlChina] =?utf-8?b?UGVybCDkvb/nlKg=?= In-Reply-To: <4619A7F3.7040606@gmail.com> References: <30100259.1175787997613.JavaMail.root@elwamui-karabash.atl.sa.earthlink.net> <4590d5230704080544q4632c455yd78df21e6ddaa2e0@mail.gmail.com> <4001da2f0704081858p2cb00a55r7027742835d5b33c@mail.gmail.com> <4619A7F3.7040606@gmail.com> Message-ID: <1700c2710704082054v65a1ecc5r6dc4ecb0e081dea0@mail.gmail.com> 俺第一次接触perl,是玩RO(网络游戏:仙境传说)的时候,有个perl写的外挂。 工作中极少用到,只用来处理过一次log文件。 平时主要是用来抓取点网页,提取点数据什么的。批量修改些文本什么的。 绝对是最初级的用户了。 用的代码基本都是在别人基础上,修改一点点就使用的。 在 07-4-9,Qiang ( James ) Li 写道: > Anders Lee wrote: > > 我和大家一样也很关注perl。 > > 可我的主要工作基本上不用perl,perl也就是用来完成一些辅助的工作, > > 比如制作简单的自动化工具什么的。 > > 大家谈谈自己的工作内容,如何?在哪些方面使用perl? > > 对perl兴趣多一些呢,还是别的呢? > > > Perl 的功能很多。我工作的地方主要使用 Perl 写网络程序 ( 用 > CGI::Application ),其次是做系统自动化 ( 分析 log 等 ) 。 > > 另外,这是个老话题了。perlchina 和 chinaunix 上都有类似的帖子。 > > Qiang > _______________________________________________ > China-pm mailing list > China-pm at pm.org > http://mail.pm.org/mailman/listinfo/china-pm -- 这是一个有钱人的世界,与我的世界截然不同! From fayland at gmail.com Sun Apr 8 21:09:49 2007 From: fayland at gmail.com (Fayland Lam) Date: Mon, 09 Apr 2007 04:09:49 +0000 Subject: [PerlChina] =?utf-8?b?UGVybCDkvb/nlKg=?= In-Reply-To: <1700c2710704082054v65a1ecc5r6dc4ecb0e081dea0@mail.gmail.com> References: <30100259.1175787997613.JavaMail.root@elwamui-karabash.atl.sa.earthlink.net> <4590d5230704080544q4632c455yd78df21e6ddaa2e0@mail.gmail.com> <4001da2f0704081858p2cb00a55r7027742835d5b33c@mail.gmail.com> <4619A7F3.7040606@gmail.com> <1700c2710704082054v65a1ecc5r6dc4ecb0e081dea0@mail.gmail.com> Message-ID: <4619BC8D.7000307@gmail.com> 我一般做 web 开发,catalyst+dbix+tt2 zongzi wrote: > 俺第一次接触perl,是玩RO(网络游戏:仙境传说)的时候,有个perl写的外挂。 > > 工作中极少用到,只用来处理过一次log文件。 > > 平时主要是用来抓取点网页,提取点数据什么的。批量修改些文本什么的。 > > 绝对是最初级的用户了。 > > 用的代码基本都是在别人基础上,修改一点点就使用的。 > > From wanliyou at gmail.com Sun Apr 8 21:55:37 2007 From: wanliyou at gmail.com (=?GB2312?B?1LXG8LrNus8=?=) Date: Mon, 9 Apr 2007 12:55:37 +0800 Subject: [PerlChina] =?gb2312?b?UGVybCDKudPD?= In-Reply-To: <4619BC8D.7000307@gmail.com> References: <30100259.1175787997613.JavaMail.root@elwamui-karabash.atl.sa.earthlink.net> <4590d5230704080544q4632c455yd78df21e6ddaa2e0@mail.gmail.com> <4001da2f0704081858p2cb00a55r7027742835d5b33c@mail.gmail.com> <4619A7F3.7040606@gmail.com> <1700c2710704082054v65a1ecc5r6dc4ecb0e081dea0@mail.gmail.com> <4619BC8D.7000307@gmail.com> Message-ID: <41143d8f0704082155n4cccc1fem7039445d21970768@mail.gmail.com> 其实主要就是字符处理什么的,脚本管理,log处理,偶尔写个CGI On 4/9/07, Fayland Lam wrote: > > 我一般做 web 开发,catalyst+dbix+tt2 > > zongzi wrote: > > 俺第一次接触perl,是玩RO(网络游戏:仙境传说)的时候,有个perl写的外挂。 > > > > 工作中极少用到,只用来处理过一次log文件。 > > > > 平时主要是用来抓取点网页,提取点数据什么的。批量修改些文本什么的。 > > > > 绝对是最初级的用户了。 > > > > 用的代码基本都是在别人基础上,修改一点点就使用的。 > > > > > _______________________________________________ > China-pm mailing list > China-pm at pm.org > http://mail.pm.org/mailman/listinfo/china-pm -- ------======Nerazzurri======------ -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.pm.org/pipermail/china-pm/attachments/20070409/be64d7ed/attachment.html From zhuzhu at perlchina.org Sun Apr 8 22:46:50 2007 From: zhuzhu at perlchina.org (Zhu Zhu) Date: Mon, 09 Apr 2007 13:46:50 +0800 Subject: [PerlChina] =?gbk?b?WUFQQzo6QmVpamluZyAyMDA3us7KsdXZv6qjvw==?= In-Reply-To: <4001da2f0704081858p2cb00a55r7027742835d5b33c@mail.gmail.com> References: <30100259.1175787997613.JavaMail.root@elwamui-karabash.atl.sa.earthlink.net> <4590d5230704080544q4632c455yd78df21e6ddaa2e0@mail.gmail.com> <4001da2f0704081858p2cb00a55r7027742835d5b33c@mail.gmail.com> Message-ID: …… 怎么感觉这样的问题 有很多个人 问过了,难得是时光倒流…… 在 Mon, 09 Apr 2007 09:58:56 +0800,Anders Lee 写 道: > 我和大家一样也很关注perl。 > 可我的主要工作基本上不用perl,perl也就是用来完成一些辅助的工作, > 比如制作简单的自动化工具什么的。 > 大家谈谈自己的工作内容,如何?在哪些方面使用perl? > 对perl兴趣多一些呢,还是别的呢? > > On 4/8/07, alexe.cn at gmail.com wrote: >> >> 关注。 >> >> >> 在 07-4-5,Jeff Pang 写道: >> > > >> > >在 Thu, 05 Apr 2007 22:24:25 +0800,nomas 写 >> 道: >> > > >> > >> 抱歉,这件事情一直在运作。请大家继续关注。 >> > >> >> > >> > Just be curious,what's the topic for this meeting? >> > >> > -- >> > mailto: pangj at earthlink.net >> > http://home.arcor.de/jeffpang/ >> > _______________________________________________ >> > China-pm mailing list >> > China-pm at pm.org >> > http://mail.pm.org/mailman/listinfo/china-pm >> >> >> -- >> +-----------------------------------------------+ >> |By Alexe (http://alexe.cublog.cn)| >> +----------------------------------------------+ >> _______________________________________________ >> China-pm mailing list >> China-pm at pm.org >> http://mail.pm.org/mailman/listinfo/china-pm -- http://fred.webcan.cn From fayland at gmail.com Sun Apr 8 22:55:06 2007 From: fayland at gmail.com (Fayland Lam) Date: Mon, 09 Apr 2007 05:55:06 +0000 Subject: [PerlChina] =?utf-8?b?WUFQQzo6QmVpamluZyAyMDA35L2V5pe25Y+s5byA?= =?utf-8?b?77yf?= In-Reply-To: References: <30100259.1175787997613.JavaMail.root@elwamui-karabash.atl.sa.earthlink.net> <4590d5230704080544q4632c455yd78df21e6ddaa2e0@mail.gmail.com> <4001da2f0704081858p2cb00a55r7027742835d5b33c@mail.gmail.com> Message-ID: <4619D53A.3040202@gmail.com> Zhu Zhu wrote: > …… 怎么感觉这样的问题 有很多个人 问过了,难得是时光倒流…… > > > hehe, 每天都有人加入有人退出。这世道循环的快。 -- Fayland Lam // http://www.fayland.org/ From uliyas at gmail.com Mon Apr 9 23:34:06 2007 From: uliyas at gmail.com (Uliyas Fan) Date: Tue, 10 Apr 2007 14:34:06 +0800 Subject: [PerlChina] China-pm Digest, Vol 24, Issue 4 In-Reply-To: References: Message-ID: 我想了解下用perl写的CGI的performance怎么样?他和其他的CGI,jsp,asp,php相比的优缺点各是什么? 我现在用perl主要写一些测试脚本,简单的快速的。因为我是做软件测试的。^_^ 2007/4/10, china-pm-request at pm.org : > > Send China-pm mailing list submissions to > china-pm at pm.org > > To subscribe or unsubscribe via the World Wide Web, visit > http://mail.pm.org/mailman/listinfo/china-pm > or, via email, send a message with subject or body 'help' to > china-pm-request at pm.org > > You can reach the person managing the list at > china-pm-owner at pm.org > > When replying, please edit your Subject line so it is more specific > than "Re: Contents of China-pm digest..." > > > Today's Topics: > > 1. Re: =?gb2312?b?WUFQQzo6QmVpamluZyAyMDA3us7KsdXZv6qjvw==?= > (Anders Lee) > 2. =?gb2312?b?UGVybCDKudPD?= (Qiang ( James ) Li) > 3. Re: Perl 使用 (zongzi) > 4. Re: Perl 使用 (Fayland Lam) > 5. Re: =?gb2312?b?UGVybCDKudPD?= (=?GB2312?B?1LXG8LrNus8=?=) > 6. Re: =?gbk?b?WUFQQzo6QmVpamluZyAyMDA3us7KsdXZv6qjvw==?= (Zhu Zhu) > 7. Re: YAPC::Beijing 2007何时召开? (Fayland Lam) > > > ---------- 已转发邮件 ---------- > From: "Anders Lee" > To: china-pm at pm.org > Date: Mon, 9 Apr 2007 10:58:56 +0900 > Subject: Re: [PerlChina] YAPC::Beijing 2007何时召开? > 我和大家一样也很关注perl。 > 可我的主要工作基本上不用perl,perl也就是用来完成一些辅助的工作, > 比如制作简单的自动化工具什么的。 > 大家谈谈自己的工作内容,如何?在哪些方面使用perl? > 对perl兴趣多一些呢,还是别的呢? > > On 4/8/07, alexe.cn at gmail.com wrote: > > > > 关注。 > > > > > > 在 07-4-5,Jeff Pang 写道: > > > > > > > >在 Thu, 05 Apr 2007 22:24:25 +0800,nomas 写道: > > > > > > > >> 抱歉,这件事情一直在运作。请大家继续关注。 > > > >> > > > > > > Just be curious,what's the topic for this meeting? > > > > > > -- > > > mailto: pangj at earthlink.net > > > http://home.arcor.de/jeffpang/ > > > _______________________________________________ > > > China-pm mailing list > > > China-pm at pm.org > > > http://mail.pm.org/mailman/listinfo/china-pm > > > > > > -- > > +-----------------------------------------------+ > > |By Alexe ( http://alexe.cublog.cn)| > > +----------------------------------------------+ > > _______________________________________________ > > China-pm mailing list > > China-pm at pm.org > > http://mail.pm.org/mailman/listinfo/china-pm > > > > > ---------- 已转发邮件 ---------- > From: "Qiang ( James ) Li" > To: china-pm at pm.org > Date: Sun, 08 Apr 2007 22:41:55 -0400 > Subject: [PerlChina] Perl 使用 > Anders Lee wrote: > > 我和大家一样也很关注perl。 > > 可我的主要工作基本上不用perl,perl也就是用来完成一些辅助的工作, > > 比如制作简单的自动化工具什么的。 > > 大家谈谈自己的工作内容,如何?在哪些方面使用perl? > > 对perl兴趣多一些呢,还是别的呢? > > > Perl 的功能很多。我工作的地方主要使用 Perl 写网络程序 ( 用 > CGI::Application ),其次是做系统自动化 ( 分析 log 等 ) 。 > > 另外,这是个老话题了。perlchina 和 chinaunix 上都有类似的帖子。 > > Qiang > > > > ---------- 已转发邮件 ---------- > From: zongzi > To: china-pm at pm.org > Date: Mon, 9 Apr 2007 11:54:52 +0800 > Subject: Re: [PerlChina] Perl 使用 > 俺第一次接触perl,是玩RO(网络游戏:仙境传说)的时候,有个perl写的外挂。 > > 工作中极少用到,只用来处理过一次log文件。 > > 平时主要是用来抓取点网页,提取点数据什么的。批量修改些文本什么的。 > > 绝对是最初级的用户了。 > > 用的代码基本都是在别人基础上,修改一点点就使用的。 > > > 在 07-4-9,Qiang ( James ) Li 写道: > > Anders Lee wrote: > > > 我和大家一样也很关注perl。 > > > 可我的主要工作基本上不用perl,perl也就是用来完成一些辅助的工作, > > > 比如制作简单的自动化工具什么的。 > > > 大家谈谈自己的工作内容,如何?在哪些方面使用perl? > > > 对perl兴趣多一些呢,还是别的呢? > > > > > > Perl 的功能很多。我工作的地方主要使用 Perl 写网络程序 ( 用 > > CGI::Application ),其次是做系统自动化 ( 分析 log 等 ) 。 > > > > 另外,这是个老话题了。perlchina 和 chinaunix 上都有类似的帖子。 > > > > Qiang > > _______________________________________________ > > China-pm mailing list > > China-pm at pm.org > > http://mail.pm.org/mailman/listinfo/china-pm > > > -- > 这是一个有钱人的世界,与我的世界截然不同! > > > ---------- 已转发邮件 ---------- > From: Fayland Lam > To: china-pm at pm.org > Date: Mon, 09 Apr 2007 04:09:49 +0000 > Subject: Re: [PerlChina] Perl 使用 > 我一般做 web 开发,catalyst+dbix+tt2 > > zongzi wrote: > > 俺第一次接触perl,是玩RO(网络游戏:仙境传说)的时候,有个perl写的外挂。 > > > > 工作中极少用到,只用来处理过一次log文件。 > > > > 平时主要是用来抓取点网页,提取点数据什么的。批量修改些文本什么的。 > > > > 绝对是最初级的用户了。 > > > > 用的代码基本都是在别人基础上,修改一点点就使用的。 > > > > > > > > ---------- 已转发邮件 ---------- > From: "缘起和合" > To: china-pm at pm.org > Date: Mon, 9 Apr 2007 12:55:37 +0800 > Subject: Re: [PerlChina] Perl 使用 > 其实主要就是字符处理什么的,脚本管理,log处理,偶尔写个CGI > > On 4/9/07, Fayland Lam wrote: > > > > 我一般做 web 开发,catalyst+dbix+tt2 > > > > zongzi wrote: > > > 俺第一次接触perl,是玩RO(网络游戏:仙境传说)的时候,有个perl写的外挂。 > > > > > > 工作中极少用到,只用来处理过一次log文件。 > > > > > > 平时主要是用来抓取点网页,提取点数据什么的。批量修改些文本什么的。 > > > > > > 绝对是最初级的用户了。 > > > > > > 用的代码基本都是在别人基础上,修改一点点就使用的。 > > > > > > > > _______________________________________________ > > China-pm mailing list > > China-pm at pm.org > > http://mail.pm.org/mailman/listinfo/china-pm > > > > > -- > ------======Nerazzurri======------ > > ---------- 已转发邮件 ---------- > From: "Zhu Zhu" > To: china-pm at pm.org > Date: Mon, 09 Apr 2007 13:46:50 +0800 > Subject: Re: [PerlChina] YAPC::Beijing 2007何时召开? > …… 怎么感觉这样的问题 有很多个人 问过了,难得是时光倒流…… > > > > 在 Mon, 09 Apr 2007 09:58:56 +0800,Anders Lee 写 > 道: > > > 我和大家一样也很关注perl。 > > 可我的主要工作基本上不用perl,perl也就是用来完成一些辅助的工作, > > 比如制作简单的自动化工具什么的。 > > 大家谈谈自己的工作内容,如何?在哪些方面使用perl? > > 对perl兴趣多一些呢,还是别的呢? > > > > On 4/8/07, alexe.cn at gmail.com wrote: > >> > >> 关注。 > >> > >> > >> 在 07-4-5,Jeff Pang 写道: > >> > > > >> > >在 Thu, 05 Apr 2007 22:24:25 +0800,nomas 写 > >> 道: > >> > > > >> > >> 抱歉,这件事情一直在运作。请大家继续关注。 > >> > >> > >> > > >> > Just be curious,what's the topic for this meeting? > >> > > >> > -- > >> > mailto: pangj at earthlink.net > >> > http://home.arcor.de/jeffpang/ > >> > _______________________________________________ > >> > China-pm mailing list > >> > China-pm at pm.org > >> > http://mail.pm.org/mailman/listinfo/china-pm > >> > >> > >> -- > >> +-----------------------------------------------+ > >> |By Alexe (http://alexe.cublog.cn)| > >> +----------------------------------------------+ > >> _______________________________________________ > >> China-pm mailing list > >> China-pm at pm.org > >> http://mail.pm.org/mailman/listinfo/china-pm > > > > -- > http://fred.webcan.cn > > > > ---------- 已转发邮件 ---------- > From: Fayland Lam > To: china-pm at pm.org > Date: Mon, 09 Apr 2007 05:55:06 +0000 > Subject: Re: [PerlChina] YAPC::Beijing 2007何时召开? > Zhu Zhu wrote: > > …… 怎么感觉这样的问题 有很多个人 问过了,难得是时光倒流…… > > > > > > > > > hehe, 每天都有人加入有人退出。这世道循环的快。 > > -- > Fayland Lam // http://www.fayland.org/ > > > > _______________________________________________ > China-pm mailing list > China-pm at pm.org > http://mail.pm.org/mailman/listinfo/china-pm > -- 樊闻斌 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.pm.org/pipermail/china-pm/attachments/20070410/0cd74981/attachment-0001.html From honghunter at gmail.com Tue Apr 10 01:17:18 2007 From: honghunter at gmail.com (zongzi) Date: Tue, 10 Apr 2007 16:17:18 +0800 Subject: [PerlChina] =?utf-8?b?44CQ6K+35pWZ44CR5aSn6YeP5paH5qGj5aSE55CG?= =?utf-8?b?55qE5pe25YCZ77yM5oCO5LmI5L+d5oyB5Lit6Ze054q25oCB77yM5Lul?= =?utf-8?b?5L6/5YGc5q2i5ZCO6IO957un57ut6L+Q6KGM77yf?= Message-ID: <1700c2710704100117j4338a87epcca8a316f54738a6@mail.gmail.com> 问一个可能很傻的问题: 我尝试抓取网上的小说看。 我还不会弄数据库什么的,我的处理过程就是:脚本+txt+批处理+wget。 脚本作些简单的数据提取,例如从一个用wget抓到的html网页中,取出URL,然后生成批处理文件。 TXT是我现在的各种数据的存储方式。 批处理的作用就是调用wget,把URL作为参数去下载网页。 现在的问题是,我希望能处理一部分之后,断了,还能继续接着处理。 该怎么处理这些正在下载、已经下载、等待下载什么的状态哪? 或者说,怎么用文件保存一个列表中处理了一半的位置,下次能从这里开始继续处理? -- 这是一个有钱人的世界,与我的世界截然不同! From shijialee at gmail.com Tue Apr 10 05:11:19 2007 From: shijialee at gmail.com (Qiang ( James ) Li) Date: Tue, 10 Apr 2007 08:11:19 -0400 Subject: [PerlChina] CGI vs php, asp In-Reply-To: References: Message-ID: <461B7EE7.6080402@gmail.com> Err.. 请不要把 digest 的内容也包括到 email 里。 Uliyas Fan wrote: > 我想了解下用perl写的CGI的performance怎么样?他和其他的CGI,jsp,asp,php > 相比的优缺点各是什么? perl 写的 CGI 只适用于不要求速度,访问量小的环境,比如公司内部。在 CGI 下,每次你的 .pl 或 .cgi 程序调用的时候都开启一个 perl process, 运行结束 后,这个 perl process 就退出了。CGI 和 fastcgi 和 mod_perl 环境没法比。 mod_perl 下, perl process ,module 等都 cache 到内存用来提速。 php 运行在 mod_php + apache 和 mod_perl 实现差不多。 jsp, asp 类似。具体 速度比我就不清楚了。 > 我现在用perl主要写一些测试脚本,简单的快速的。因为我是做软件测试的。^_^ > Test::More! Test::Exception!! Test::WWW::Mechanize!! 我正试着在 Perl 开 发中运用更多的 testing :) > -- > 樊闻斌 > > Qiang From nomas.zhou at gmail.com Tue Apr 10 08:00:32 2007 From: nomas.zhou at gmail.com (nomas) Date: Tue, 10 Apr 2007 23:00:32 +0800 Subject: [PerlChina] Beijing Perl Workshop Message-ID: <158876750704100800r5108537at4120fd501950ac7@mail.gmail.com> 让大家期待已久的主题为Beijing Perl Workshop的2007YAPC::BEIJING,经过前期的准备,现在终于开始接受大家的报名。 perl爱好者以及对perl感兴趣的朋友可用通过www.yapc.org.cn报名参加。 同时请大家积极的参与演讲的环节。 2007YAPC::BEIJING筹备组 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.pm.org/pipermail/china-pm/attachments/20070410/13bd57fa/attachment.html From pangj at earthlink.net Tue Apr 10 18:28:04 2007 From: pangj at earthlink.net (Jeff Pang) Date: Wed, 11 Apr 2007 09:28:04 +0800 Subject: [PerlChina] China-pm Digest, Vol 24, Issue 4 In-Reply-To: References: Message-ID: <913717600704101828r56a024e0rebfc34e5e025b26b@mail.gmail.com> 在07-4-10,Uliyas Fan 写道: > > 我想了解下用perl写的CGI的performance怎么样?他和其他的CGI,jsp,asp,php相比的优缺点各是什么? > > 我现在用perl主要写一些测试脚本,简单的快速的。因为我是做软件测试的。^_^ > > > Have heard that Perl's fastcgi is not as good as mod_perl. Maybe writing fastcgi by C is better choice? -- mailto: pangj at earthlink.net http://home.arcor.de/jeffpang/ -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.pm.org/pipermail/china-pm/attachments/20070411/1c1d724b/attachment.html From beckheng at perlchina.org Wed Apr 11 06:40:06 2007 From: beckheng at perlchina.org (Beckheng Lam) Date: Wed, 11 Apr 2007 13:40:06 +0000 Subject: [PerlChina] =?utf-8?b?WUFQQzo6QmVpamluZyAyMDA35L2V5pe25Y+s5byA?= =?utf-8?b?77yf?= In-Reply-To: <4590d5230704080544q4632c455yd78df21e6ddaa2e0@mail.gmail.com> References: <30100259.1175787997613.JavaMail.root@elwamui-karabash.atl.sa.earthlink.net> <4590d5230704080544q4632c455yd78df21e6ddaa2e0@mail.gmail.com> Message-ID: <461CE536.8070709@perlchina.org> 南方这次有多少人去? alexe.cn at gmail.com wrote: > 关注。 > > > 在 07-4-5,Jeff Pang 写道: > >>> 在 Thu, 05 Apr 2007 22:24:25 +0800,nomas 写道: >>> >>> >>>> 抱歉,这件事情一直在运作。请大家继续关注。 >>>> >>>> >> Just be curious,what's the topic for this meeting? >> >> -- >> mailto: pangj at earthlink.net >> http://home.arcor.de/jeffpang/ >> _______________________________________________ >> China-pm mailing list >> China-pm at pm.org >> http://mail.pm.org/mailman/listinfo/china-pm >> > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.pm.org/pipermail/china-pm/attachments/20070411/ea074d28/attachment.html From jameswork66 at gmail.com Tue Apr 10 22:58:12 2007 From: jameswork66 at gmail.com (james zheng) Date: Wed, 11 Apr 2007 13:58:12 +0800 Subject: [PerlChina] =?gb2312?b?WUFQQzo6QmVpamluZyAyMDA3us7KsdXZv6qjvw==?= In-Reply-To: <461CE536.8070709@perlchina.org> References: <30100259.1175787997613.JavaMail.root@elwamui-karabash.atl.sa.earthlink.net> <4590d5230704080544q4632c455yd78df21e6ddaa2e0@mail.gmail.com> <461CE536.8070709@perlchina.org> Message-ID: <2e766b860704102258y2082f8fbu461bc3a072fd588c@mail.gmail.com> 什么时候有结果? On 4/11/07, Beckheng Lam wrote: > > 南方这次有多少人去? > > alexe.cn at gmail.com wrote: > > 关注。 > > > 在 07-4-5,Jeff Pang 写道: > > > 在 Thu, 05 Apr 2007 22:24:25 +0800,nomas 写道: > > > > 抱歉,这件事情一直在运作。请大家继续关注。 > > > > Just be curious,what's the topic for this meeting? > > -- > mailto: pangj at earthlink.nethttp://home.arcor.de/jeffpang/ > _______________________________________________ > China-pm mailing listChina-pm at pm.orghttp://mail.pm.org/mailman/listinfo/china-pm > > > > _______________________________________________ > China-pm mailing list > China-pm at pm.org > http://mail.pm.org/mailman/listinfo/china-pm > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.pm.org/pipermail/china-pm/attachments/20070411/da2526a5/attachment.html From zhuzhu at perlchina.org Tue Apr 10 23:08:56 2007 From: zhuzhu at perlchina.org (Zhu Zhu) Date: Wed, 11 Apr 2007 14:08:56 +0800 Subject: [PerlChina] =?gbk?b?WUFQQzo6QmVpamluZyAyMDA3us7KsdXZv6qjvw==?= In-Reply-To: <2e766b860704102258y2082f8fbu461bc3a072fd588c@mail.gmail.com> References: <30100259.1175787997613.JavaMail.root@elwamui-karabash.atl.sa.earthlink.net> <4590d5230704080544q4632c455yd78df21e6ddaa2e0@mail.gmail.com> <461CE536.8070709@perlchina.org> <2e766b860704102258y2082f8fbu461bc3a072fd588c@mail.gmail.com> Message-ID: 有结果?? 怎么感觉是搞的抽奖活动。。。 我在成都,不可能去,不是牛人,不是赞助商,只 能发 Email.... 在 Wed, 11 Apr 2007 13:58:12 +0800,james zheng 写 道: > 什么时候有结果? > > > > On 4/11/07, Beckheng Lam wrote: >> >> 南方这次有多少人去? >> >> alexe.cn at gmail.com wrote: >> >> 关注。 >> >> >> 在 07-4-5,Jeff Pang 写道: >> >> >> 在 Thu, 05 Apr 2007 22:24:25 +0800,nomas >> 写道: >> >> >> >> 抱歉,这件事情一直在运作。请大家继续关注。 >> >> >> >> Just be curious,what's the topic for this meeting? >> >> -- >> mailto: pangj at earthlink.nethttp://home.arcor.de/jeffpang/ >> _______________________________________________ >> China-pm mailing >> listChina-pm at pm.orghttp://mail.pm.org/mailman/listinfo/china-pm >> >> >> >> _______________________________________________ >> China-pm mailing list >> China-pm at pm.org >> http://mail.pm.org/mailman/listinfo/china-pm >> -- http://fred.webcan.cn From jameswork66 at gmail.com Tue Apr 10 23:33:41 2007 From: jameswork66 at gmail.com (james zheng) Date: Wed, 11 Apr 2007 14:33:41 +0800 Subject: [PerlChina] =?gb2312?b?WUFQQzo6QmVpamluZyAyMDA3us7KsdXZv6qjvw==?= In-Reply-To: References: <30100259.1175787997613.JavaMail.root@elwamui-karabash.atl.sa.earthlink.net> <4590d5230704080544q4632c455yd78df21e6ddaa2e0@mail.gmail.com> <461CE536.8070709@perlchina.org> <2e766b860704102258y2082f8fbu461bc3a072fd588c@mail.gmail.com> Message-ID: <2e766b860704102333w71299db0md492748f99c4ad88@mail.gmail.com> 我也在成都. On 4/11/07, Zhu Zhu wrote: > > 有结果?? > > 怎么感觉是搞的抽奖活动。。。 我在成都,不可能去,不是牛人,不是赞助商,只 > 能发 Email.... > > > 在 Wed, 11 Apr 2007 13:58:12 +0800,james zheng 写 > 道: > > > 什么时候有结果? > > > > > > > > On 4/11/07, Beckheng Lam wrote: > >> > >> 南方这次有多少人去? > >> > >> alexe.cn at gmail.com wrote: > >> > >> 关注。 > >> > >> > >> 在 07-4-5,Jeff Pang 写道: > >> > >> > >> 在 Thu, 05 Apr 2007 22:24:25 +0800,nomas > >> 写道: > >> > >> > >> > >> 抱歉,这件事情一直在运作。请大家继续关注。 > >> > >> > >> > >> Just be curious,what's the topic for this meeting? > >> > >> -- > >> mailto: pangj at earthlink.nethttp://home.arcor.de/jeffpang/ > >> _______________________________________________ > >> China-pm mailing > >> listChina-pm at pm.orghttp://mail.pm.org/mailman/listinfo/china-pm > >> > >> > >> > >> _______________________________________________ > >> China-pm mailing list > >> China-pm at pm.org > >> http://mail.pm.org/mailman/listinfo/china-pm > >> > > > > -- > http://fred.webcan.cn > _______________________________________________ > China-pm mailing list > China-pm at pm.org > http://mail.pm.org/mailman/listinfo/china-pm -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.pm.org/pipermail/china-pm/attachments/20070411/674a9b45/attachment.html From wanmyome at gmail.com Wed Apr 11 19:21:59 2007 From: wanmyome at gmail.com (=?UTF-8?B?5LiH5pyd5Lyf?=) Date: Wed, 11 Apr 2007 19:21:59 -0700 Subject: [PerlChina] CGI vs php, asp In-Reply-To: <461B7EE7.6080402@gmail.com> References: <461B7EE7.6080402@gmail.com> Message-ID: <9ff89e80704111921s3060c214o45ee895ed0dda0d4@mail.gmail.com> 大型应用谁也不敢只用一个单一的技术,往往还有代理技术 但是小型的应用Perl CGI还是够用的,不用担心 就Web程序而言,FastCGI比其他都快,其次是jsp,然后php,asp,mod_perl就差不多了,至于asp.net我没有测试过, 效率应该不差,估计和jsp差不多 我认为最重要的是开发速度和维护的效率,至于程序跑的效率,应该不是问题考虑的关键 在07-4-10,Qiang ( James ) Li 写道: > > Err.. 请不要把 digest 的内容也包括到 email 里。 > > Uliyas Fan wrote: > > 我想了解下用perl写的CGI的performance怎么样?他和其他的CGI,jsp,asp,php > > 相比的优缺点各是什么? > > perl 写的 CGI 只适用于不要求速度,访问量小的环境,比如公司内部。在 CGI > 下,每次你的 .pl 或 .cgi 程序调用的时候都开启一个 perl process, 运行结束 > 后,这个 perl process 就退出了。CGI 和 fastcgi 和 mod_perl 环境没法比。 > mod_perl 下, perl process ,module 等都 cache 到内存用来提速。 > > php 运行在 mod_php + apache 和 mod_perl 实现差不多。 jsp, asp 类似。具体 > 速度比我就不清楚了。 > > > 我现在用perl主要写一些测试脚本,简单的快速的。因为我是做软件测试的。^_^ > > > > Test::More! Test::Exception!! Test::WWW::Mechanize!! 我正试着在 Perl 开 > 发中运用更多的 testing :) > > > -- > > 樊闻斌 > > > > > > Qiang > _______________________________________________ > China-pm mailing list > China-pm at pm.org > http://mail.pm.org/mailman/listinfo/china-pm -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.pm.org/pipermail/china-pm/attachments/20070411/316c7554/attachment.html From honghunter at gmail.com Wed Apr 11 20:40:04 2007 From: honghunter at gmail.com (zongzi) Date: Thu, 12 Apr 2007 11:40:04 +0800 Subject: [PerlChina] =?utf-8?b?44CQ6K+35pWZ44CRcGVybOaPkOWPlue9kemhtVRY?= =?utf-8?b?VOaXtuWAmeeahOS5seeggemXrumimA==?= Message-ID: <1700c2710704112040u772fb654s934a09b5691654ea@mail.gmail.com> 为了方便放在PDA上面看小说,我用wget把网页(是新浪读书频道)下载到本机,然后用perl去把其中的正文提取出来。 发现弄出来的txt文档中,有好多乱码(用记事本打开看的时候)。 请教大家怎么才能解决? 附件是我的代码,写的非常乱。真是不好意思了。 -- 这是一个有钱人的世界,与我的世界截然不同! -------------- next part -------------- A non-text attachment was scrubbed... Name: getTEXT.rar Type: application/octet-stream Size: 16030 bytes Desc: not available Url : http://mail.pm.org/pipermail/china-pm/attachments/20070412/d841da44/attachment-0001.obj From warhua at gmail.com Wed Apr 11 22:03:32 2007 From: warhua at gmail.com (warhua) Date: Thu, 12 Apr 2007 13:03:32 +0800 Subject: [PerlChina] CGI vs php, asp References: <461B7EE7.6080402@gmail.com> <9ff89e80704111921s3060c214o45ee895ed0dda0d4@mail.gmail.com> Message-ID: <200704121303296256392@gmail.com> 但现在似乎很少人用perl cgi 了。。。。为什么呢? warhua 2007-04-12 发件人: 万朝伟 发送时间: 2007-04-12 10:22:21 收件人: shijialee at gmail.com; china-pm at pm.org 抄送: 主题: Re: [PerlChina] CGI vs php, asp 大型应用谁也不敢只用一个单一的技术,往往还有代理技术 但是小型的应用Perl CGI还是够用的,不用担心 就Web程序而言,FastCGI比其他都快,其次是jsp,然后php,asp,mod_perl就差不多了,至于asp.net我没有测试过,效率应该不差,估计和jsp差不多 我认为最重要的是开发速度和维护的效率,至于程序跑的效率,应该不是问题考虑的关键 在07-4-10,Qiang ( James ) Li 写道: Err.. 请不要把 digest 的内容也包括到 email 里。 Uliyas Fan wrote: > 我想了解下用perl写的CGI的performance怎么样?他和其他的CGI,jsp,asp,php > 相比的优缺点各是什么? perl 写的 CGI 只适用于不要求速度,访问量小的环境,比如公司内部。在 CGI 下,每次你的 .pl 或 .cgi 程序调用的时候都开启一个 perl process, 运行结束 后,这个 perl process 就退出了。CGI 和 fastcgi 和 mod_perl 环境没法比。 mod_perl 下, perl process ,module 等都 cache 到内存用来提速。 php 运行在 mod_php + apache 和 mod_perl 实现差不多。 jsp, asp 类似。具体 速度比我就不清楚了。 > 我现在用perl主要写一些测试脚本,简单的快速的。因为我是做软件测试的。^_^ > Test::More! Test::Exception!! Test::WWW::Mechanize!! 我正试着在 Perl 开 发中运用更多的 testing :) > -- > 樊闻斌 > > Qiang _______________________________________________ China-pm mailing list China-pm at pm.org http://mail.pm.org/mailman/listinfo/china-pm -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.pm.org/pipermail/china-pm/attachments/20070412/8642cedd/attachment.html From pangj at earthlink.net Wed Apr 11 22:28:21 2007 From: pangj at earthlink.net (Jeff Pang) Date: Thu, 12 Apr 2007 13:28:21 +0800 Subject: [PerlChina] CGI vs php, asp In-Reply-To: <200704121303296256392@gmail.com> References: <461B7EE7.6080402@gmail.com> <9ff89e80704111921s3060c214o45ee895ed0dda0d4@mail.gmail.com> <200704121303296256392@gmail.com> Message-ID: <913717600704112228j693ef34dwcc7473bab94bd188@mail.gmail.com> 在07-4-12,warhua 写道: > > 但现在似乎很少人用perl cgi 了。。。。为什么呢? > > Perl CGI主要是性能不怎么好吧..不过现在CPU都够快,内存也够大,网站的访问速度其实更取决于网络带宽, 程序快慢那么几毫秒无关轻重.但对产品级站点来说,使用Perl CGI会带来一个问题,那就是访问量高时,CGI进程太耗资源.比如同样压力下 ,C写的CGI能启动1000个进程,Perl的可能就只有500个了. 另外感觉大多数web程序能用CGI的,都转向PHP了.PHP在开发速度和性能2方面都兼顾的比较好.不过个人而言,我更喜欢用modperl.:) -- > mailto: pangj at earthlink.net > http://home.arcor.de/jeffpang/ > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.pm.org/pipermail/china-pm/attachments/20070412/e5df835a/attachment.html From beckheng at perlchina.org Thu Apr 12 09:32:03 2007 From: beckheng at perlchina.org (Beckheng Lam) Date: Thu, 12 Apr 2007 16:32:03 +0000 Subject: [PerlChina] CGI vs php, asp In-Reply-To: <913717600704112228j693ef34dwcc7473bab94bd188@mail.gmail.com> References: <461B7EE7.6080402@gmail.com> <9ff89e80704111921s3060c214o45ee895ed0dda0d4@mail.gmail.com> <200704121303296256392@gmail.com> <913717600704112228j693ef34dwcc7473bab94bd188@mail.gmail.com> Message-ID: <461E5F03.9070102@perlchina.org> 现在很少讨论这个主题了吧。 ^_^ Jeff Pang wrote: > > > 在07-4-12,*warhua* > 写道: > > 但现在似乎很少人用perl cgi 了。。。。为什么呢? > > Perl CGI主要是性能不怎么好吧..不过现在CPU都够快,内存也够大,网站的访问 > 速度其实更取决于网络带宽,程序快慢那么几毫秒无关轻重.但对产品级站点来 > 说,使用Perl CGI会带来一个问题,那就是访问量高时,CGI进程太耗资源.比如同 > 样压力下,C写的CGI能启动1000个进程,Perl的可能就只有500个了. > 另外感觉大多数web程序能用CGI的,都转向PHP了.PHP在开发速度和性能2方面都 > 兼顾的比较好.不过个人而言,我更喜欢用 modperl.:) > > -- > mailto: pangj at earthlink.net > http://home.arcor.de/jeffpang/ > > ------------------------------------------------------------------------ > > _______________________________________________ > China-pm mailing list > China-pm at pm.org > http://mail.pm.org/mailman/listinfo/china-pm -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.pm.org/pipermail/china-pm/attachments/20070412/c498e2f2/attachment.html From zhuzhu at perlchina.org Thu Apr 12 02:02:18 2007 From: zhuzhu at perlchina.org (Zhu Zhu) Date: Thu, 12 Apr 2007 17:02:18 +0800 Subject: [PerlChina] CGI vs php, asp In-Reply-To: <461E5F03.9070102@perlchina.org> References: <461B7EE7.6080402@gmail.com> <9ff89e80704111921s3060c214o45ee895ed0dda0d4@mail.gmail.com> <200704121303296256392@gmail.com> <913717600704112228j693ef34dwcc7473bab94bd188@mail.gmail.com> <461E5F03.9070102@perlchina.org> Message-ID: 我在 dreamhost 上用 fastcgi 运行 trac 错误日志为 FastCGI: incomplete headers (0 bytes) received from server 用 CGI 没有问题,不过速度慢 在 Fri, 13 Apr 2007 00:32:03 +0800,Beckheng Lam 写道: > 现在很少讨论这个主题了吧。 > ^_^ > > Jeff Pang wrote: >> >> >> 在07-4-12,*warhua* > 写道: >> >> 但现在似乎很少人用perl cgi 了。。。。为什么呢? >> >> Perl CGI主要是性能不怎么好吧..不过现在CPU都够快,内存也够大,网站的访问 >> 速度其实更取决于网络带宽,程序快慢那么几毫秒无关轻重.但对产品级站点来 >> 说,使用Perl CGI会带来一个问题,那就是访问量高时,CGI进程太耗资源.比如同 >> 样压力下,C写的CGI能启动1000个进程,Perl的可能就只有500个了. >> 另外感觉大多数web程序能用CGI的,都转向PHP了.PHP在开发速度和性能2方面都 >> 兼顾的比较好.不过个人而言,我更喜欢用 modperl.:) >> >> -- >> mailto: pangj at earthlink.net >> http://home.arcor.de/jeffpang/ >> >> ------------------------------------------------------------------------ >> >> _______________________________________________ >> China-pm mailing list >> China-pm at pm.org >> http://mail.pm.org/mailman/listinfo/china-pm > -- http://fred.webcan.cn From wanliyou at gmail.com Thu Apr 12 03:02:31 2007 From: wanliyou at gmail.com (=?GB2312?B?1LXG8LrNus8=?=) Date: Thu, 12 Apr 2007 18:02:31 +0800 Subject: [PerlChina] =?gb2312?b?ob7H673Mob9wZXJszOHIoc340rNUWFTKsbrytcQ=?= =?gb2312?b?wtLC687KzOI=?= In-Reply-To: <1700c2710704112040u772fb654s934a09b5691654ea@mail.gmail.com> References: <1700c2710704112040u772fb654s934a09b5691654ea@mail.gmail.com> Message-ID: <41143d8f0704120302v1401be9bta51280b62b454db8@mail.gmail.com> 什么编辑器干的?确实很乱,用VIM吧 On 4/12/07, zongzi wrote: > > 为了方便放在PDA上面看小说,我用wget把网页(是新浪读书频道)下载到本机,然后用perl去把其中的正文提取出来。 > > 发现弄出来的txt文档中,有好多乱码(用记事本打开看的时候)。 > > 请教大家怎么才能解决? > > > 附件是我的代码,写的非常乱。真是不好意思了。 > > -- > 这是一个有钱人的世界,与我的世界截然不同! > > _______________________________________________ > China-pm mailing list > China-pm at pm.org > http://mail.pm.org/mailman/listinfo/china-pm > > -- ------======Nerazzurri======------ -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.pm.org/pipermail/china-pm/attachments/20070412/472d26f6/attachment.html From yang.liana at gmail.com Thu Apr 12 03:38:42 2007 From: yang.liana at gmail.com (rorot) Date: Thu, 12 Apr 2007 18:38:42 +0800 Subject: [PerlChina] CGI vs php, asp In-Reply-To: <461E5F03.9070102@perlchina.org> References: <461B7EE7.6080402@gmail.com> <9ff89e80704111921s3060c214o45ee895ed0dda0d4@mail.gmail.com> <200704121303296256392@gmail.com> <913717600704112228j693ef34dwcc7473bab94bd188@mail.gmail.com> <461E5F03.9070102@perlchina.org> Message-ID: <461E0C32.3060504@gmail.com> Beckheng Lam wrote: > 现在很少讨论这个主题了吧。 > ^_^ > > Jeff Pang wrote: >> >> >> 在07-4-12,*warhua* > 写道: >> >> 但现在似乎很少人用perl cgi 了。。。。为什么呢? >> >> Perl CGI主要是性能不怎么好吧..不过现在CPU都够快,内存也够大,网站的访问 >> 速度其实更取决于网络带宽,程序快慢那么几毫秒无关轻重.但对产品级站点来 >> 说,使用Perl CGI会带来一个问题,那就是访问量高时,CGI进程太耗资源.比如同 >> 样压力下,C写的CGI能启动1000个进程,Perl的可能就只有500个了. >> 另外感觉大多数web程序能用CGI的,都转向PHP了.PHP在开发速度和性能2方面都 >> 兼顾的比较好.不过个人而言,我更喜欢用 modperl.:) >> >> -- >> mailto: pangj at earthlink.net >> http://home.arcor.de/jeffpang/ >> >> ------------------------------------------------------------------------ >> >> _______________________________________________ >> 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 Perl写WEB程序还是很爽的!:) From beckheng at perlchina.org Fri Apr 13 01:49:01 2007 From: beckheng at perlchina.org (Beckheng Lam) Date: Fri, 13 Apr 2007 08:49:01 +0000 Subject: [PerlChina] =?utf-8?b?44CQ6K+35pWZ44CRcGVybOaPkOWPlue9kemhtVRY?= =?utf-8?b?VOaXtuWAmeeahOS5seeggemXrumimA==?= In-Reply-To: <41143d8f0704120302v1401be9bta51280b62b454db8@mail.gmail.com> References: <1700c2710704112040u772fb654s934a09b5691654ea@mail.gmail.com> <41143d8f0704120302v1401be9bta51280b62b454db8@mail.gmail.com> Message-ID: <461F43FD.7070205@perlchina.org> 是不是跟gbk或者utf8有关? 缘起和合 wrote: > 什么编辑器干的?确实很乱,用VIM吧 > > On 4/12/07, *zongzi* > wrote: > > 为了方便放在PDA上面看小说,我用wget把网页(是新浪读书频道)下载到 > 本机,然后用perl去把其中的正文提取出来。 > > 发现弄出来的txt文档中,有好多乱码(用记事本打开看的时候)。 > > 请教大家怎么才能解决? > > > 附件是我的代码,写的非常乱。真是不好意思了。 > > -- > 这是一个有钱人的世界,与我的世界截然不同! > > _______________________________________________ > China-pm mailing list > China-pm at pm.org > http://mail.pm.org/mailman/listinfo/china-pm > > > > > -- > ------======Nerazzurri======------ > ------------------------------------------------------------------------ > > _______________________________________________ > China-pm mailing list > China-pm at pm.org > http://mail.pm.org/mailman/listinfo/china-pm -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.pm.org/pipermail/china-pm/attachments/20070413/365f2215/attachment.html From honghunter at gmail.com Thu Apr 12 17:56:06 2007 From: honghunter at gmail.com (zongzi) Date: Fri, 13 Apr 2007 08:56:06 +0800 Subject: [PerlChina] =?utf-8?b?44CQ6K+35pWZ44CRcGVybOaPkOWPlue9kemhtVRY?= =?utf-8?b?VOaXtuWAmeeahOS5seeggemXrumimA==?= In-Reply-To: <461F43FD.7070205@perlchina.org> References: <1700c2710704112040u772fb654s934a09b5691654ea@mail.gmail.com> <41143d8f0704120302v1401be9bta51280b62b454db8@mail.gmail.com> <461F43FD.7070205@perlchina.org> Message-ID: <1700c2710704121756q67cdb54asa70fa5c96e41e616@mail.gmail.com> 编辑器我用的UltraEdit32。 网页编码都是,还需要什么转换吗? 在 07-4-13,Beckheng Lam 写道: > 是不是跟gbk或者utf8有关? > > 缘起和合 wrote: > 什么编辑器干的?确实很乱,用VIM吧 > > On 4/12/07, zongzi wrote: > > > 为了方便放在PDA上面看小说,我用wget把网页(是新浪读书频道)下载到本机,然后用perl去把其中的正文提取出来。 > > > > 发现弄出来的txt文档中,有好多乱码(用记事本打开看的时候)。 > > > > 请教大家怎么才能解决? > > > > > > 附件是我的代码,写的非常乱。真是不好意思了。 > > > > -- > > 这是一个有钱人的世界,与我的世界截然不同! > > > > _______________________________________________ > > China-pm mailing list > > China-pm at pm.org > > http://mail.pm.org/mailman/listinfo/china-pm > > > > > > > > -- > ------======Nerazzurri======------ > ________________________________ > _______________________________________________ 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 > -- 这是一个有钱人的世界,与我的世界截然不同! From dongxu.ma at gmail.com Thu Apr 12 21:05:12 2007 From: dongxu.ma at gmail.com (Dongxu Ma) Date: Fri, 13 Apr 2007 12:05:12 +0800 Subject: [PerlChina] =?gb2312?b?ob7H673Mob9wZXJszOHIoc340rNUWFTKsbrytcQ=?= =?gb2312?b?wtLC687KzOI=?= In-Reply-To: <1700c2710704121756q67cdb54asa70fa5c96e41e616@mail.gmail.com> References: <1700c2710704112040u772fb654s934a09b5691654ea@mail.gmail.com> <41143d8f0704120302v1401be9bta51280b62b454db8@mail.gmail.com> <461F43FD.7070205@perlchina.org> <1700c2710704121756q67cdb54asa70fa5c96e41e616@mail.gmail.com> Message-ID: <9bc0d5d20704122105v745c385nde7036f052c59148@mail.gmail.com> `iconv -f GB2312 -t UTF8 p0.html' showed me Chinese inside that html, which means while reading from html in your script, you need to decode from GB2312. By something like: 1. Encode::decode("GB2312", ) 2. bindmode INPUT, ":encoding('GB2312')" 在07-4-13,zongzi 写道: > > 编辑器我用的UltraEdit32。 > > 网页编码都是,还需要什么转换吗? > > > 在 07-4-13,Beckheng Lam 写道: > > 是不是跟gbk或者utf8有关? > > > > 缘起和合 wrote: > > 什么编辑器干的?确实很乱,用VIM吧 > > > > On 4/12/07, zongzi wrote: > > > > > 为了方便放在PDA上面看小说,我用wget把网页(是新浪读书频道)下载到本机,然后用perl去把其中的正文提取出来。 > > > > > > 发现弄出来的txt文档中,有好多乱码(用记事本打开看的时候)。 > > > > > > 请教大家怎么才能解决? > > > > > > > > > 附件是我的代码,写的非常乱。真是不好意思了。 > > > > > > -- > > > 这是一个有钱人的世界,与我的世界截然不同! > > > > > > _______________________________________________ > > > China-pm mailing list > > > China-pm at pm.org > > > http://mail.pm.org/mailman/listinfo/china-pm > > > > > > > > > > > > > > -- > > ------======Nerazzurri======------ > > ________________________________ > > > _______________________________________________ > 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 > > > > > -- > 这是一个有钱人的世界,与我的世界截然不同! > _______________________________________________ > China-pm mailing list > China-pm at pm.org > http://mail.pm.org/mailman/listinfo/china-pm -- cheers, -dongxu __END__ http://search.cpan.org/~dongxu -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.pm.org/pipermail/china-pm/attachments/20070413/8f782a18/attachment.html From shijialee at gmail.com Fri Apr 13 18:26:34 2007 From: shijialee at gmail.com (Qiang ( James ) Li) Date: Fri, 13 Apr 2007 21:26:34 -0400 Subject: [PerlChina] Fwd: Newsletter from O'Reilly UG Program, April 13 Message-ID: <46202DCA.9020400@gmail.com> Oreilly 最新一期的 newsletter. ( 注: Oreilly 不定期赞助 perlchina 书籍 ) --- Marsee Henon wrote: > From: "Marsee Henon" > To: shijialeeeATgmail.com > Subject: Newsletter from O'Reilly UG Program, April 13 > Date: Fri, 13 Apr 2007 10:38:09 -0700 > > Hi-- > > > What do you have going on with your group that we should know? > Send me the details, web site, date, and anything else handy. We're > looking for things like code camps, events, projects, and joint > ventures with other groups to highlight. > > We've started a new blog at O'Reilly and I'm looking for UG activities > to include. Here's the link to check it out: > http://www.oreillynet.com/fyi/blog/ > > > Update on the UG wiki: You now have to use a password and user name > to update our UG wiki. We are getting wikispam and some of the content > was removed (but we fixed it!) > > > UG Wiki: > > > Thanks for your help! > > --Marsee > > ================================================================ > O'Reilly UG Program News--Just for User Group Leaders > April 13, 2007 > ================================================================ > -Looking for a speaker? > -Looking for Slashdot Reviewers > -Put Up a Banner, Get a Free book > -Interested in Looking at a Rough Cut? > -Asterisk Users--Recipies to Contribute to a New Cookbook? > > ---------------------------------------------------------------- > Book Info > ---------------------------------------------------------------- > ***Review Books are Available > Copies of our books and PDFs are available for your members to > review--just send me an email to request them and please include the > item's ISBN number (click on the "More Details" link to find the ISBN.) > Let me know if you need your book by a certain date. Allow at least four > weeks for shipping. > > ***Please Send Copies of Your Book Reviews > Email me a copy of your newsletter or book review. > For tips and suggestions on writing book reviews, go to: > > > ***Group Purchase Discounts are Available > Please let me know if you are interested and I can put you in > touch with our sales department. > > > ---------------------------------------------------------------- > General News or Inquiries > ---------------------------------------------------------------- > ****Looking for a speaker? > Tom Adelstein, author of "Linux System Adminstration" is available. > If you are interested, let me know. Tom says he's willing to travel > too. For more information on Tom, go to: > > > > ***We're looking for Slashdot Reviewers for the following titles: > > Myths of Innovation by Scott Berkun > > > Devices of the Soul by Steve Talbott > > > Head First PMP > > > Linux System Adminstration > > > > ***Interested in looking at a Rough Cut? > We're looking for feedback and reviewers for the following titles > to make these great books: > > -C# 3.0 in a Nutshell > -Programming WPF > -Programming .NET 3.0 > -High Performance Web Sites > > > ***Asterisk Users--Do You Have Recipies to Contribute to a New Cookbook? > We're in the process of building the "Asterisk Cookbook." We'd like to > invite the Asterisk community to contribute. We're looking for two > kinds of contributions. First, we're looking for problems you'd like to > see solved in the book. If you need to make Asterisk do something and > just can't figure out how, let us know. We'll try to solve the problem > for you. Second, we're looking for more advanced Asterisk users to > contribute solutions to problems that they've faced. > > If you're interested in participating, please see > > > > ***Put Up a Banner Get a Free Book > We're looking for user groups to display our discount banners on their > web sites. If you send me your group's site with one or more banners, > I'll send you the O'Reilly book(s) of your choice. Choose from > the following list: > > Newly updated 35% off User Group Discount Banner > > > School of Technology Banners > > > Tools of Change for Publishing Conference Banners > > > Where Confernce Banners > > > Open Source Convention > > > Ubuntu Live Conference > > > O'Reilly Energy Innovation Conference > > > > ================================================================ > O'Reilly News for User Group Members > April 13, 2007 > ================================================================ > ---------------------------------------------------------------- > New Releases > ---------------------------------------------------------------- > -40 Digital Photo Retouching Techniques with Photoshop Elements > -A Grammar of Game Play > -Ajax: The Definitive Guide: Rough Cuts Version > -Beyond Schemas: Planning Your XML Model (PDF Shortcut) > -C# 3.0 in a Nutshell: Rough Cuts Edition > -Checking Java Programs (PDF Shortcut) > -Closeup Shooting > -Designing BSD Rootkits > -Devices of the Soul > -DIY Coffee--Make: Projects > -Essential SharePoint 2007: Rough Cuts Edition > -Facelets (PDF Short Cut) > -Ferret (PDF Short Cut) > -GarageBand Tips and Tricks > -High Performance Web Sites: Rough Cuts Version > -Low Budget Shooting > -Managing RPM-Based Systems with Kickstart and Yum (PDF Short Cut) > -No Fluff, Just Stuff Anthology > -Office 2007: The Missing Manual > -QuickBase: The Missing Manual > -Release It! > -Schematron (PDF Short Cut) > -Securing the Vista Environment (PDF Short Cut) > -SQL Injection Defenses (PDF Short Cut) > -SQL Server Integration Services (PDF Short Cut) > -Test Driven Ajax (on Rails) (PDF Short Cut) > -Understanding MySQL Internals > -Web Scripting Little Black Book > -Windows PowerShell: The Definitive Guide: Rough Cuts Version > -XQuery > ---------------------------------------------------------------- > Upcoming Events > ---------------------------------------------------------------- > -Peter Krogh, ASMP "It's Your Business" Series, > Louis, MO--Apr 14 > -Eddie Tapp, Southeastern Professional Photographers Association, > Atlanta, GA--Apr 16 > -Peter Morville, 2007 Association of Independent Information > Professionals Annual Conference, Minneapolis, MN--Apr 21 > -Stephen Johnson conducts a seminar on color management, > Pacifica, CA--Apr 21 > -Jesse Liberty and Alex Horovitz at Microsoft MIX 07, > Las Vegas, NV--Apr 30-May 2 > -Stephen Few at Technology Transfer in Italy, Rome, Italy--May 5-6 > -Stephen Johnson conducts a California Coast Field Workshop, > Mendocino, CA--May 5-6 > -O'Reilly at CRE8 Conference, Orlando, FL, May 9-10 > -Stephen Johnson on digital black and White Photography, > Pacifica, CA--May 12 > > ---------------------------------------------------------------- > Conference News > ---------------------------------------------------------------- > -Registration is Open for OSCON 2007, > Portland, OR--July 23-27 > -Registration is Open for Ubuntu Live, > Portland, OR--July 22-24 > -Last Chance--Register for Web 2.0 Expo, > San Francisco, CA--Apr 15-18 > -Register for the MySQL Conference and Expo, > Santa Clara, CA--Apr 23-26 > -Register for Where 2.0, San Jose, CA--May 29-30 > -Register for the O'Reilly Tools of Change Conference, > San Jose, CA--Jun 18-20 > ---------------------------------------------------------------- > News > ---------------------------------------------------------------- > -April is Web 2.0 Month at O'Reilly > -License our Content > -Maker Faire 2007 Tickets on Sale, SF Bay Area--May 19-20 > -Jolt Award Winners: Third Year in a Row! > -What's All This Fuss About Erlang? > -Create Your Own O'Reilly Shirt or Mug > -O'Reilly School of Technology Courses: UG Members Receive > a 30% Discount > -The lighttpd Web Server > -PHP Search Engine Showdown > -Lightroom Getting Started: Creating Identity Plates in Lightroom > -Robert Leslie on Shooting TED and Using Aperture > -Digital Media Insider Podcast 10: Annoying Audio > _Build a Photo Gallery Using CakePHP and Flickr > -Apple TV: State of the Hacks > -Introducing Google Desktop for Mac > -A Chat with Nobi > -The Logic of Service-Orientation Plus 14 SO Tenets and Practical > Principles > -Logging with Custom Web Events > -Controlling Threads by Example > -Using Groovy to Send Emails > -The Principles of Beautiful Web Design > -How-to Flip A Web Site Fixer-upper > -Making Money With Web Communities > > --------------------------------------------------------------- > New Releases--Books, Short Cuts, and Rough Cuts > ---------------------------------------------------------------- > Get 35% off from O'Reilly, No Starch, Paraglyph, PC Publishing, > Pragmatic Bookshelf, SitePoint, or YoungJin books you purchase directly > from O'Reilly. > > Just use code DSUG when ordering online or by phone 800-998-9938. > > > Free ground shipping on orders of $29.95 or more. > For more details, go to: > > > Did you know you can request a free book or PDF to review for your > group? Ask your group leader for more information. > > For book review writing tips and suggestions, go to: > > > > ***40 Digital Photo Retouching Techniques with Photoshop Elements > Publisher: Young Jin > ISBN 10: 8931433700 > With digital camera usage now established, the demand for easy, > affordable photo editing tools has increased. Adobe's Photoshop Elements > leads the way as an affordable image editing tool. This easy-to-follow, > full-color guide shows all digital photographers how to make their > photos look their best with dozens of well-organized, hands-on > techniques. Readers learn how to change or replace a color, enhance > faces, fix burred images, correct poor exposures, create a slide show, > and more. > > > > ***A Grammar of Game Play > Publisher: Paraglyph Press > ISBN 10: 1933097159 > In this sequel to his bestselling and award-winning book, master game > designer Raph Koster now takes on the inner workings of how games are > expertly designed by professionals. Using the latest thinking from game > studies as well as years of experience, games are broken down and > revealed as models of reality. Readers will learn how games tick, how > they teach, and what sorts of things they can communicate. In this > highly unique book, Koster takes the reader on a thought-provoking > journey with the goal being to develop a unique grammar and approach for > designing games. > > > > ***Ajax: The Definitive Guide: Rough Cuts Version > Publisher: O'Reilly > ISBN 10: 059651381X > Ajax builds on older technologies and techniques but reaches a tipping > point where the results are new. This book gives you a boost to this > next stage of web application development, revealing ways to apply Ajax > solutions to classically difficult web interface and structure issues. > Learn to build browser-based applications that function like desktop > programs, using sophisticated server-aware approaches that give users > information when they need it. > > > > ***Beyond Schemas: Planning Your XML Model (PDF Shortcut) > Publisher: O'Reilly > ISBN 10: 0596527705 > Have you ever wondered how to get started writing your own schema? As > you prepare to create your schema, you must consider a number of > factors. This guide explains each of those factors in detail and > recommends an approach for documenting your schema development plan in > an information model. > > > > > ***C# 3.0 in a Nutshell: Rough Cuts Edition > Publisher: O'Reilly > ISBN 10: 0596513895 > Get a jump on C# 3.0 with this all-new edition of O'Reilly's classic "C# > 3.0 In a Nutshell." Completely rewritten to encompass changes to the C# > language planned for the "Orcas" release of Visual Studio, this is the > one reference experienced programmers will want to have at hand as they > put its new features to work. > > > > ***Checking Java Programs (PDF Shortcut) > Publisher: O'Reilly > ISBN 10: 0596510233 > This Short Cut tells you about tools that will improve the quality of > your Java code, using checking above and beyond what the standard tools > do, including: Using javac, options, JUnit and assertions, Making your > IDE work harder, Checking your source code with PMD, Checking your > compiled code (.class files) with FindBugs, and Checking your program's > run-time behavior with Java PathFinder. > > > > ***Closeup Shooting > Publisher: Rocky Nook > ISBN 10: 1933952091 > Cyrill Harnischmacher explains all aspects of close-up shooting for both > inside the studio, as well as outdoors. This book is filled with > beautifully illustrated examples and detailed instructions on how to set > up a system and workflow for successful close-up photography. > > > > ***Designing BSD Rootkits > Publisher: No Starch Press > ISBN 10: 1593271425 > "Designing BSD Rootkits" introduces the fundamentals of programming and > developing rootkits under the FreeBSD operating system. In addition to > explaining rootkits and rootkit writing, the book aims to inspire > readers to explore the FreeBSD kernel and gain a better understanding of > the kernel and the FreeBSD operating system itself. Written in a > friendly, accessible style and sprinkled with geek humor and pop culture > references, the author favors a "learn by example" approach that assumes > no prior kernel hacking experience. > > > > ***Devices of the Soul > Publisher: O'Reilly > ISBN 10: 0596526806 > In this deeply thoughtful work, the author reviews our technological > dreams of improvement and destruction, finding both possibilities where > others see only one or the other. His tour of the technical landscape > leads from Odysseus' wonderful technological deceits to the world of the > blind and mentally handicapped; from the technical marvels of the > Amazonian blow-gun to the wholesale re-engineering of organisms through > genetic engineering; from computers as substitutes for teachers, > students, and schools, to the paradoxical role of technology in > distancing us from the natural world--so that, if we are willing, we > can learn to love this world and master the technology that increasingly > dominates it. > > > > ***DIY Coffee--Make: Projects > Publisher: O'Reilly > ISBN 10: 0596514395 > Got a jones for caffeine and technology? Mod your espresso machine to > dial in the perfect shot, with precise temperature control and a filter > hack that kicks out maximum tasty crema. Roast your own with a > hand-built custom coffee roaster. Hack a toaster timer to perfect-brew > your tea every time. And fire up your coffee pot from the internet using > X10 automation. Using home-grown techniques and off-the-shelf parts, > caffeine junkies will find everything they need to overclock the fix > from their favorite shade-grown beverage. > > > > ***Essential SharePoint 2007: Rough Cuts Edition > Publisher: O'Reilly > ISBN 10: 0596514344 > If you're considering the vastly improved 2007 version of SharePoint, > this concise, practical and friendly guide will teach you how to get the > most from Microsoft's latest information-sharing and collaboration > platform. Essential SharePoint 2007 demonstrates how your business can > use SharePoint to control documents, structure workflow, and share > information over the Web using standard tools business users already > know--Microsoft Office and Internet Explorer. > > > > ***Facelets (PDF Short Cut) > Publisher: O'Reilly > ISBN 10: 0596529244 > This Short Cut begins with an explanation of what Facelets is, how it > works, and what it will do for you. Then, it shows you how to install > Facelets, and teaches you how to build Facelets templates, how to create > UI components without writing a single line of Java code, how to create > custom Facelets tags, how to integrate AJAX into a Facelets application, > and more. > > > > ***Ferret (PDF Short Cut) > Publisher: O'Reilly > ISBN 10: 0596527853 > This Short Cut will show you how to quickly get up and running with > Ferret. You'll learn how to index different document types such as PDF, > Microsoft Word, and HTML, as well as how to deal with foreign languages > and different character encodings. This document describes the Ferret > Query Language in detail along with the object-oriented approach to > building queries. > > > > ***GarageBand Tips and Tricks > Publisher: PC Publishing > ISBN 10: 1870775198 > Some dismiss GarageBand as a toy. But that's just plain silly. Yes it > does lack the high-end features of some of the more expensive recording > software programs. But rest assured, there are plenty of useful > work-arounds and tips and tricks to be had. For those in the know, > GarageBand provides all the power tools needed to produce stunning, > CD-quality audio projects. Read this book and all will be revealed. > > > > ***High Performance Web Sites: Rough Cuts Version > Publisher: O'Reilly > ISBN 10: 0596514212 > Want to speed up your web site? This book presents 14 specific rules > that will cut 20% to 25% off response time when users request a page. > Author Steve Souders, in his job as Chief Performance Yahoo!, collected > these best practices while optimizing some of the most-visited pages on > the Web. Even sites that had already been highly optimized were able to > benefit from these surprisingly simple performance guidelines. > > > > ***Low Budget Shooting > Publisher: Rocky Nook > ISBN 10: 1933952105 > Filled with full-color images and easy-to-follow text, this book shows > how to build essential lighting and studio equipment; how to make the > perfect light-table for shooting small objects; and how to build > reflectors, soft-boxes, and light-tents that really work. It also tells > where to get some of the little helpers that make a photographer's life > so much easier. This clever little book is a creative and valuable > resource for most any photographer. > > > > ***Managing RPM-Based Systems with Kickstart and Yum (Short Cut PDF) > Publisher: O'Reilly > ISBN 10: 0596513828 > Managing multiple Red Hat-based systems can be easy--with the right > tools. The yum package manager and the Kickstart installation utility > are full of power and potential for automatic installation, > customization, and updates. Here's what you need to know to take control > of your systems. > > > > ***No Fluff, Just Stuff Anthology > Publisher: Pragmatic Bookshelf > ISBN 10: 0978739280 > The No Fluff, Just Stuff Symposium Series is a traveling conference > series for software developers visiting 27 cities a year. No Fluff has > put on over 75 symposia throughout the US. and Canada, with more than > 12,000 attendees so far. Its success has been a result of focusing on > high quality technical presentations, great speakers, and no marketing > hype. Now this world-class material is available to you in print for the > first time. > > > > ***Office 2007: The Missing Manual > Publisher: O'Reilly > ISBN 10: 0596514220 > Quickly learn the most useful features of Microsoft Office 2007 with our > easy to read four-in-one guide. This fast-paced book gives you the > basics of Word, Excel, PowerPoint, and Access so you can start using the > new versions of these major Office applications right away. It's a great > way to master all 4 programs without having to stock up on a shelf-load > of different books. > > > > ***QuickBase: The Missing Manual > Publisher: O'Reilly > ISBN 10: 0596529600 > Ready to put Intuit's QuickBase to work? Our new Missing Manual shows > you how to capture, modify, share, and manage data and documents with > this web-based data-sharing program quickly and easily. You'll learn how > to choose among QuickBase's dozens of ready-made applications and > customize one to fit your needs so you can filter, sort, and group data, > display it several ways, create reports, and assign people to different > roles. > > > > ***Release It! > Publisher: Pragmatic Bookshelf > Everything changes after Release 1.0. The consultants leave; key > developers get reassigned to new projects, and the wild and free > environment of development gets replaced by change review boards and > defect reports. And the public starts beating on the system. Your > application needs to be ready to live in that environment--without you. > > > > ***Schematron (PDF Short Cut) > Publisher: O'Reilly > ISBN 10: 0596527713 > Schematron is a rule-based XML schema language, offering flexibility and > power that W3C XML schema, RELAX NG, and DTDs simply can't match. You > need Schematron and can't settle for other languages if you have to > check rules that go beyond checking the document structures (i.e., > checking that an element bar is included in element foo) and their > datatypes. Schematron is the right tool for checking conditions such as > "startDate is earlier than or equal to endDate." > > > > ***Securing the Vista Environment (PDF Short Cut) > Publisher: O'Reilly > ISBN 10: 0596514301 > "Securing the Vista Environment" takes you on a quick tour of the most > significant security features in Vista, Microsoft's first revision of > Windows in almost six years. You'll get background on threats and > vulnerabilities that will make you think differently about security. > > > > ***SQL Injection Defenses (PDF Short Cut) > Publisher: O'Reilly > ISBN 10: 0596529643 > This Short Cut introduces you to how SQL injection vulnerabilities work, > what makes applications vulnerable, and how to protect them. It helps > you find your vulnerabilities with analysis and testing tools and > describes simple approaches for fixing them in the most popular > web-programming languages. > > > > ***SQL Server Integration Services (PDF Short Cut) > Publisher: O'Reilly > ISBN 10: 0596513755 > This Short Cut begins with an overview of key SSIS concepts, > capabilities, standard workflow and ETL elements, the development > environment, execution, deployment, and migration from Data > Transformation Services (DTS). > > > > ***Test Driven Ajax (on Rails) > Publisher: O'Reilly > ISBN 10: 0596510659 > This Short Cut seeks fixes for the hardest situation in web development; > proactive test cases for Ajax code. We survey existing techniques, and > invent new ones. Our goal is heads-down programming, without repeatedly > clicking on a web browser. > > > > ***Understanding MySQL Internals > Publisher: O'Reilly > ISBN 10: 0596009577 > Although MySQL's source code is open in the sense of being publicly > available, it's essentially closed to you if you don't understand it. > This book provides a comprehensive tour of MySQL 5 that shows you how to > figure out the inner-workings of this powerful database. You'll learn > how data structures and convenience functions operate, how to add new > storage engines and configuration options, and much more. > > > > ***Web Scripting Little Black Book > Publisher: Paraglyph Press > ISBN 10: 1933097191 > The Web Scripting Little Black Book will help administrators take full > advantage of the most popular scripting languages and extensions, > covering topics such as automating Web pages and managing content, > database setups and automation, essential e-commerce scripts, user > support topics, securing scripts, FTP access and much more. > > > > ***Windows PowerShell: The Definitive Guide: Rough Cuts Version > Publisher: O'Reilly > ISBN 10: 0596514328 > Written by Microsoft PowerShell team developer and blogger Lee Holmes, > this book is a complete Windows PowerShell language learning resource as > well as a tool for day-to-day administration. Not only will you learn > the essentials of the PowerShell scripting language and environment, > you'll find nearly 250 tested scripts that you can use to automate an > impressive variety of tasks. Ideal for those who administer Exchange > 2007 and MOM v3. > > > > ***XQuery > Publisher: O'Reilly > ISBN 10: 0596006349 > XQuery delivers a carefully paced tutorial that goes into the final 1.0 > standard in detail. The book delves into critical advanced issues such > as data typing and designing efficient query logic. Whether you're > coming from SQL, XSLT, or starting from scratch, you'll learn about > XQuery's support for filtering, sorting, and grouping data, as well as > how to use FLWR expressions, XPath, and XQuery tools for extracting and > combining information. > > > > ***MAKE Magazine Subscriptions > MAKE Magazine Subscriptions > The annual subscription price for four issues is $34.95. When you > subscribe with this link, you'll get a free issue--one plus four > more for $34.95. So subscribe for yourself or friends with this > great offer for UG Members: five volumes for the cost of four. > Subscribe at: > > > > ***Craft Magazine Subscriptions > The annual subscription price for four issues is $34.95. When you > subscribe with this link, you'll get a free issue--the first one plus > four more for $34.95. So subscribe for yourself or friends with this > great offer for charter subscribers: five volumes for the cost of four. > Subscribe at: > > > ================================================ > Upcoming Events > ================================================ > ***For more events, please see: > > > ***Peter Krogh, ASMP "It's Your Business" Series, Louis, MO--Apr 14 > Author Peter Krogh ("The DAM Book: Digital Asset Management for > Photographers") will be teaching the "Get Your DAM Stuff Together" track > for ASMP's "It's Your Business" Series. > > > > ***Ignite at the Web 2.0 Expo, April 15 > If you had five minutes on stage what would you say? What if you only > got 20 slides and they rotated automatically after 15 seconds? Would you > pitch a project? Launch a web site? Teach a hack? We’re going to find > out when we try our first Ignite event at Web 2.0 Expo. Happening Sunday > evening, this will be a high-energy event. If you're not attending > Web 2.0 Expo, register for the exhibit hall pass to get in. > > > > ***Eddie Tapp, Southeastern Professional Photographers Association, > Atlanta, GA--Apr 16 > Author Eddie Tapp ("Photoshop Workflow Setups" and "Practical > Color Management") is one of the speakers at this year's event. > > > > ***Peter Morville, 2007 Association of Independent Information > Professionals Annual Conference, Minneapolis, MN--Apr 21, 2007 > Peter Morville ("Information Architecture for the World Wide Web, > Third Edition" and "Ambient Findability") presents "Ambient > Findability" at the 2007 AIIP Annual Conference. > > > > ***Stephen Johnson conducts a seminar on color management, > Pacifica, CA--Apr 21 > Join Stephen Johnson ("Stephen Johnson on Digital Photography") in a > one-day exploration of color management in theory and practice. The day > is designed to get you comfortable with the concepts and architecture of > color management and build practical experience in using profiles in > printing. Monitor calibration and print profiles will be explained and > you will have hands-on experience making both. > > > > ***Jesse Liberty and Alex Horovitz at Microsoft MIX 07, > Las Vegas, NV--Apr 30-May 2 > Join Jesse Liberty ("Programming .NET 3.0" and "Learning C# 2005, Second > Edition") and Alex Horovitz ("Programming .NET 3.0" and "Getting Started > with .NET 3.0") for their panel sessions at this sold out event. > > > > ***Stephen Few at Technology Transfer, Rome, Italy--May 5-6 > Author Stephen Few ("Information Dashboard Design") presents three days > of workshops at Residenza di Ripetta. > > > > ***Stephen Johnson conducts a California Coast Field Workshop, > Mendocino, CA--May 5-6 > Join Stephen Johnson ("Stephen Johnson on Digital Photography") as he > explores the landscape of Mendocino and the North Coast. > > > > ***O'Reilly at CRE8 Conference, Orlando, FL, May 9-10 > The conference for creative and technical professionals featuring > keynote address by Al Gore has been scheduled for May 9-10, 2007 with > pre and post conference sessions on the 8th and 11th at the Disney > Coronado Resort in Orlando, FL. Don't miss speaker Derrick Story, > coauthor of iPhoto 6: The Missing Manual and author of Digital > Photography Pocket Guide, 3rd Edition. Stop by the O'Reilly booth to say > hi, peruse our titles, and meet our expert authors. > > > > ***Stephen Johnson conducts a seminar on digital black and white > photography, Pacifica, CA--May 12 > Join Stephen Johnson as he explores black and white photography in the > digital age from file to print. Discussions will include scanning film, > conversion from color files, using filtered color for traditional tonal > effects, duotones controls for tonal tuning, in addition to various > black and white printing options and papers. > > > ================================================ > Conference News > ================================================ > ***Registration is now open for OSCON 2007, Portland, OR > --July 23-27 > Use code "os07dsug" when you register, and receive 15% off > the registration price. > > To register for the conference, go to: > > > > ***Registration is Now Open for Ubuntu Live, Portland, OR > --July 22-24 > Use code "ubu07dusg" when you register, and receive 15% off > the registration price. > > To register for the conference, go to: > > > > ***Last Chance--Register for Web 2.0 Expo, San Francisco, CA > --Apr 15-18 > The Web 2.0 Expo is the first event specifically designed to help teach > Web 2.0 techniques and best practices to people in the trenches directly > involved in the design, development, engineering, marketing, and > business of second-generation internet technology. > > > > ****Register for the MySQL Conference and Expo, > Santa Clara, CA--Apr 23-26 > Co-presented by O'Reilly Media and MySQL AB > Use code "mys07ugmy" when you register and receive 15% off > the registration price. > > To register for the conference, go to: > > > > ***Register for Where 2.0, San Jose, CA--May 29-30 > Use code "whr07dsug" when you register, and receive 15% off > the registration price. > > To register for the conference, go to: > > > > ***Register for the O'Reilly Tools of Change Conference, > San Jose, CA--Jun 18-20 > Use code "toc07dsug" when you register, and receive 15% off > the registration price. > > To register for the conference, go to: > > > > For complete conference information, go to: > > > ================================================ > News From O'Reilly & Beyond > ================================================ > --------------------- > General News > --------------------- > ***April is Web 2.0 Month at O'Reilly > We've put together a special resource page dedicated to Web 2.0 > essentials including books, Short Cuts, articles, courses, and info > about the upcoming Web 2.0 Expo. > > > > ***License our Content > We are pleased to announce our partnership with CCC's Rightslink > service. You can now purchase reprint rights to our book content to > reuse on your corporate internet, intranet, in newsletters, magazines, > and course packs. This same tool makes it easy for you to browse much > more of our books online before deciding to make a purchase. > > > > ***Maker Faire 2007 Tickets on Sale, SF Bay Area--May 19-20 > Join us for MAKE magazine's Maker Faire--a hands-on event featuring > Makers whose science and technology projects will amaze you and ignite > your imagination. Meet Expert Makers, MAKE contributors, authors, attend > DIY Tutorials, explore DIY projects and demonstrations, and more. > For more information or to purchase tickets, go to: > > > > ***Jolt Award Winners:Third Year in a Row! > "Head First Object-Oriented Analysis and Design" won the coveted Jolt > Award (the top prize) and "CSS: The Missing Manual" won the Productivity > Award. > > > > ***What's All This Fuss about Erlang? > What is Erlang? Why is it different? Why is everyone talking about it? > Find the answers to your questions. > > > > ***Create Your Own O'Reilly Shirt or Mug > In three easy steps you can create your own O'Reilly shirt or mug. > > > > *** O'Reilly School of Technology Courses: UG Members Receive > a 30% Discount > O'Reilly School of Technology has opened its virtual doors with > educational offerings and certification for IT students looking to > further their careers or to launch one. As an O'Reilly User Group > member, you save on all the courses in the following University of > Illinois Certificate Series: > > -Linux/Unix System Administration > -Web Programming > -Open Source Programming > -.NET Programming > -Client-Side Web Programming featuring AJAX > > To redeem, use Promotion Code "ORALL1," good for a 30% discount, > in Step #2 of the enrollment process. Each course comes with a free > O'Reilly book and a 7-day money-back guarantee. > Register online: > > > --------------------- > Open Source > --------------------- > ***The lighttpd Web Server > Apache is the 800-pound gorilla in the web server arena, but a plucky > young featherweight called lighttpd is knocking at the door--and already > powering some of the best-known and highly frequented sites on the > Internet. > > > > ***PHP Search Engine Showdown > Your users know exactly what they want to find on your web site, but > they just can't find it. If only your site had a good search engine. > Michael Douma and his team recently compared several different search > engines for PHP sites. > > > --------------------- > Digital Media > --------------------- > ***Lightroom Getting Started: Creating Identity Plates in Lightroom > You can personalize the Lightroom environment by creating Identity > Plates that appear throughout the application for a nice aesthetic > touch. They also have very practical purposes as they can be used to > identify slideshows, web galleries, and prints. Here’s how to set up an > Identity Plate of your own. > > > > ***Robert Leslie on Shooting TED and Using Aperture > Event photographers need all the help they can get to survive the > grueling hours and gigabytes of data they amass. Pro shooter Robert > Leslie just completed one of the most challenging events of all, the TED > conference in Monterey, California. > > > > ***Digital Media Insider Podcast 10: Annoying Audio > Peter Drescher designed the sounds for everything from After Dark > screensavers to the T-Mobile Sidekick. Hear what it takes to annoy (and > thrill) this top ringtone composer. > > > > ***Build a Photo Gallery Using CakePHP and Flickr > Is the Flickr interface doing justice to your stunning snaps? It's time > to consider customization. Jonathan shows us the ropes in his hands-on > tutorial, as he uses CakePHP and the Flickr API to build an attractive, > fully customized gallery that displays Flickr photos to their best > advantage. > > > --------------------- > Mac > --------------------- > ***Apple TV: State of the Hacks > Erica Sadun has been hacking away on the new Apple TV and presents this > "State of the Hacks" roundup of what people are doing with their Apple > TV boxes. Discover what kinds of mods are out there and whether they're > the right fit for your needs and abilities. > > > > ***Introducing Google Desktop for Mac > Giles Turnbull takes an in-depth look at Google Desktop for the Mac, > putting the recently released OS X version of Google's desktop search > product through its paces. Learn what Google Desktop can do for you, how > it does it, and why it needs to install itself with high-level > permissions on your system. > > > > ***A Chat with Nobi > Chris Stone interviews longtime Japanese Mac journalist Nobuyuki "Nobi" > Hayashi. Nobi shares his thoughts on this year's MacWorld, gives hints > for Mac developers wanting to cross the Pacific, and explains why Apple > TV won't be the next big thing in Japan, but what might instead. > > > --------------------- > Microsoft/.NET > --------------------- > ***The Logic of Service-Orientation Plus 14 SO Tenets and Practical > Principles > What exactly is service orientation, and what does it mean for the > future of the software industry? What are the principles that should > guide any developer using it? In this excerpt from Programming WCF > Services, Juval Lowy explains what it's about and offers practical > principles for its use. > > > > ***Logging with Custom Web Events > Every serious ASP.NET application requires logging. Jesse Liberty shows > how to use the little-known ASP.NET Health Monitoring system to create a > robust and extensible, yet minimal, logging system that will send email > in a crisis and routinely log to a database. > > > --------------------- > Java > --------------------- > ***Controlling Threads by Example > The methods people commonly think of for controlling threads were > deprecated long ago, and are not safe to use. In this article, Viraj > Shetty shows the appropriate techniques for starting, pausing, resuming, > and stopping activities taking place in a multithreaded application. > > > > ***Using Groovy to Send Emails > Groovy is one of the more popular dynamic languages for the JVM. It has > a familiar syntax, reduces large amounts of scaffolding code, and > integrates seamlessly with Java. Learning Groovy means gaining access to > all of the richness emerging in the dynamic language world while still > leveraging the skills, infrastructure, and libraries you already have > from the Java world. This is a quick tutorial showing how to send emails > from Groovy using Java libraries. > > > --------------------- > Web > --------------------- > ***The Principles of Beautiful Web Design > Does your heart soar when you see great web page designs...and > break when you look at your own? You don't need to go to art school > to create those sweet designs, as Jason explains. Read his hands-on > tour of the underlying concepts of web page layout and composition > today. > > > > ***How-to Flip A Web Site Fixer-upper > Want to buy and sell web sites for profit? In this practical guide, > experienced site flipper Peter steps through the process, providing > tips to keep you from the common pitfalls, and showing how to add > value that translates to real profits when you sell. > > > > ***Making Money With Web Communities > Run a large web community and looking to monetize it? > Chris explains the ins-and-outs of monetizing blogs, > forums, and more. > > > > > Until next time-- > > Marsee Henon > > > ================================================================ > O'Reilly > 1005 Gravenstein Highway North > Sebastopol, CA 95472 > http://ug.oreilly.com/ http://ug.oreilly.com/creativemedia/ > ================================================================ > From islue.hu at gmail.com Sat Apr 14 02:34:53 2007 From: islue.hu at gmail.com (islue) Date: Sat, 14 Apr 2007 18:34:53 +0900 Subject: [PerlChina] CGI vs php, asp In-Reply-To: References: <461B7EE7.6080402@gmail.com> <9ff89e80704111921s3060c214o45ee895ed0dda0d4@mail.gmail.com> <200704121303296256392@gmail.com> <913717600704112228j693ef34dwcc7473bab94bd188@mail.gmail.com> <461E5F03.9070102@perlchina.org> Message-ID: 我也遇到过这个问题,咨询了DH客服才解决的。 http://islue.blogspot.com/2007/02/dreamhost-catalyst.html 在 07-4-12,Zhu Zhu 写道: > 我在 dreamhost 上用 fastcgi 运行 trac 错误日志为 > > FastCGI: incomplete headers (0 bytes) received from server > > 用 CGI 没有问题,不过速度慢 > > -- > http://fred.webcan.cn > _______________________________________________ > China-pm mailing list > China-pm at pm.org > http://mail.pm.org/mailman/listinfo/china-pm From honghunter at gmail.com Sat Apr 14 15:49:17 2007 From: honghunter at gmail.com (zongzi) Date: Sun, 15 Apr 2007 06:49:17 +0800 Subject: [PerlChina] =?utf-8?b?44CQ6K+35pWZ44CRcGVybOaPkOWPlue9kemhtVRY?= =?utf-8?b?VOaXtuWAmeeahOS5seeggemXrumimA==?= In-Reply-To: <9bc0d5d20704122105v745c385nde7036f052c59148@mail.gmail.com> References: <1700c2710704112040u772fb654s934a09b5691654ea@mail.gmail.com> <41143d8f0704120302v1401be9bta51280b62b454db8@mail.gmail.com> <461F43FD.7070205@perlchina.org> <1700c2710704121756q67cdb54asa70fa5c96e41e616@mail.gmail.com> <9bc0d5d20704122105v745c385nde7036f052c59148@mail.gmail.com> Message-ID: <1700c2710704141549t55627217q74b28c754f6bf05a@mail.gmail.com> 就是说需要强制作一次转码才行? 在 07-4-13,Dongxu Ma 写道: > `iconv -f GB2312 -t UTF8 p0.html' showed me Chinese inside that html, > which means while reading from html in your script, you need to decode > from GB2312. By something like: > > 1. Encode::decode("GB2312", ) > 2. bindmode INPUT, ":encoding('GB2312')" > > 在07-4-13,zongzi 写道: > > 编辑器我用的UltraEdit32。 > > > > 网页编码都是,还需要什么转换吗? > > > > > > 在 07-4-13,Beckheng Lam 写道: > > > 是不是跟gbk或者utf8有关? > > > > > > 缘起和合 wrote: > > > 什么编辑器干的?确实很乱,用VIM吧 > > > > > > On 4/12/07, zongzi wrote: > > > > > > > > 为了方便放在PDA上面看小说,我用wget把网页(是新浪读书频道)下载到本机,然后用perl去把其中的正文提取出来。 > > > > > > > > 发现弄出来的txt文档中,有好多乱码(用记事本打开看的时候)。 > > > > > > > > 请教大家怎么才能解决? > > > > > > > > > > > > 附件是我的代码,写的非常乱。真是不好意思了。 > > > > > > > > -- > > > > 这是一个有钱人的世界,与我的世界截然不同! > > > > > > > > _______________________________________________ > > > > China-pm mailing list > > > > China-pm at pm.org > > > > http://mail.pm.org/mailman/listinfo/china-pm > > > > > > > > > > > > > > > > > > > > -- > > > ------======Nerazzurri======------ > > > ________________________________ > > > > > _______________________________________________ > > 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 > > > > > > > > > -- > > 这是一个有钱人的世界,与我的世界截然不同! > > _______________________________________________ > > China-pm mailing list > > China-pm at pm.org > > http://mail.pm.org/mailman/listinfo/china-pm > > > > -- > cheers, > -dongxu > __END__ > http://search.cpan.org/~dongxu > _______________________________________________ > China-pm mailing list > China-pm at pm.org > http://mail.pm.org/mailman/listinfo/china-pm > -- 这是一个有钱人的世界,与我的世界截然不同! From dongxu.ma at gmail.com Sat Apr 14 23:38:42 2007 From: dongxu.ma at gmail.com (Dongxu Ma) Date: Sun, 15 Apr 2007 14:38:42 +0800 Subject: [PerlChina] =?gb2312?b?ob7H673Mob9wZXJszOHIoc340rNUWFTKsbrytcQ=?= =?gb2312?b?wtLC687KzOI=?= In-Reply-To: <1700c2710704141549t55627217q74b28c754f6bf05a@mail.gmail.com> References: <1700c2710704112040u772fb654s934a09b5691654ea@mail.gmail.com> <41143d8f0704120302v1401be9bta51280b62b454db8@mail.gmail.com> <461F43FD.7070205@perlchina.org> <1700c2710704121756q67cdb54asa70fa5c96e41e616@mail.gmail.com> <9bc0d5d20704122105v745c385nde7036f052c59148@mail.gmail.com> <1700c2710704141549t55627217q74b28c754f6bf05a@mail.gmail.com> Message-ID: <9bc0d5d20704142338m57f1cd7n74305ce16b89ce65@mail.gmail.com> yes, your input stream was encoded as GB2312. 在07-4-15,zongzi 写道: > > 就是说需要强制作一次转码才行? > > 在 07-4-13,Dongxu Ma 写道: > > `iconv -f GB2312 -t UTF8 p0.html' showed me Chinese inside that html, > > which means while reading from html in your script, you need to decode > > from GB2312. By something like: > > > > 1. Encode::decode("GB2312", ) > > 2. bindmode INPUT, ":encoding('GB2312')" > > > > 在07-4-13,zongzi 写道: > > > 编辑器我用的UltraEdit32。 > > > > > > 网页编码都是,还需要什么转换吗? > > > > > > > > > 在 07-4-13,Beckheng Lam 写道: > > > > 是不是跟gbk或者utf8有关? > > > > > > > > 缘起和合 wrote: > > > > 什么编辑器干的?确实很乱,用VIM吧 > > > > > > > > On 4/12/07, zongzi wrote: > > > > > > > > > > > 为了方便放在PDA上面看小说,我用wget把网页(是新浪读书频道)下载到本机,然后用perl去把其中的正文提取出来。 > > > > > > > > > > 发现弄出来的txt文档中,有好多乱码(用记事本打开看的时候)。 > > > > > > > > > > 请教大家怎么才能解决? > > > > > > > > > > > > > > > 附件是我的代码,写的非常乱。真是不好意思了。 > > > > > > > > > > -- > > > > > 这是一个有钱人的世界,与我的世界截然不同! > > > > > > > > > > _______________________________________________ > > > > > China-pm mailing list > > > > > China-pm at pm.org > > > > > http://mail.pm.org/mailman/listinfo/china-pm > > > > > > > > > > > > > > > > > > > > > > > > > > -- > > > > ------======Nerazzurri======------ > > > > ________________________________ > > > > > > > _______________________________________________ > > > 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 > > > > > > > > > > > > > -- > > > 这是一个有钱人的世界,与我的世界截然不同! > > > _______________________________________________ > > > China-pm mailing list > > > China-pm at pm.org > > > http://mail.pm.org/mailman/listinfo/china-pm > > > > > > > > -- > > cheers, > > -dongxu > > __END__ > > http://search.cpan.org/~dongxu > > _______________________________________________ > > 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 -- cheers, -dongxu __END__ http://search.cpan.org/~dongxu -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.pm.org/pipermail/china-pm/attachments/20070415/20722ce7/attachment.html From formalin14 at gmail.com Tue Apr 17 00:07:19 2007 From: formalin14 at gmail.com (Achilles Xu) Date: Tue, 17 Apr 2007 15:07:19 +0800 Subject: [PerlChina] =?gb2312?b?ob7H673Mob9wZXJszOHIoc340rNUWFTKsbrytcQ=?= =?gb2312?b?wtLC687KzOI=?= In-Reply-To: <9bc0d5d20704142338m57f1cd7n74305ce16b89ce65@mail.gmail.com> References: <1700c2710704112040u772fb654s934a09b5691654ea@mail.gmail.com> <41143d8f0704120302v1401be9bta51280b62b454db8@mail.gmail.com> <461F43FD.7070205@perlchina.org> <1700c2710704121756q67cdb54asa70fa5c96e41e616@mail.gmail.com> <9bc0d5d20704122105v745c385nde7036f052c59148@mail.gmail.com> <1700c2710704141549t55627217q74b28c754f6bf05a@mail.gmail.com> <9bc0d5d20704142338m57f1cd7n74305ce16b89ce65@mail.gmail.com> Message-ID: <4a6c0ba80704170007y4a006536t775f0bc63bc89ffb@mail.gmail.com> perl中处理中文的原则: 让中文字符串在perl中以utf8的形式存在。一个字符串进来的时候如果是其他编码,先转成utf8,出去的时候再转成相应的编码。这样可以保证任何操作都不出错。 在07-4-15,Dongxu Ma 写道: > > yes, your input stream was encoded as GB2312. > > 在07-4-15,zongzi 写道: > > > > 就是说需要强制作一次转码才行? > > > > 在 07-4-13,Dongxu Ma 写道: > > > `iconv -f GB2312 -t UTF8 p0.html' showed me Chinese inside that html, > > > which means while reading from html in your script, you need to decode > > > > > from GB2312. By something like: > > > > > > 1. Encode::decode("GB2312", ) > > > 2. bindmode INPUT, ":encoding('GB2312')" > > > > > > 在07-4-13,zongzi < honghunter at gmail.com> 写道: > > > > 编辑器我用的UltraEdit32。 > > > > > > > > 网页编码都是,还需要什么转换吗? > > > > > > > > > > > > 在 07-4-13,Beckheng Lam 写道: > > > > > 是不是跟gbk或者utf8有关? > > > > > > > > > > 缘起和合 wrote: > > > > > 什么编辑器干的?确实很乱,用VIM吧 > > > > > > > > > > On 4/12/07, zongzi wrote: > > > > > > > > > > > > > > 为了方便放在PDA上面看小说,我用wget把网页(是新浪读书频道)下载到本机,然后用perl去把其中的正文提取出来。 > > > > > > > > > > > > 发现弄出来的txt文档中,有好多乱码(用记事本打开看的时候)。 > > > > > > > > > > > > 请教大家怎么才能解决? > > > > > > > > > > > > > > > > > > 附件是我的代码,写的非常乱。真是不好意思了。 > > > > > > > > > > > > -- > > > > > > 这是一个有钱人的世界,与我的世界截然不同! > > > > > > > > > > > > _______________________________________________ > > > > > > China-pm mailing list > > > > > > China-pm at pm.org > > > > > > http://mail.pm.org/mailman/listinfo/china-pm > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > -- > > > > > ------======Nerazzurri======------ > > > > > ________________________________ > > > > > > > > > _______________________________________________ > > > > 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 > > > > > > > > > > > > > > > > > -- > > > > 这是一个有钱人的世界,与我的世界截然不同! > > > > _______________________________________________ > > > > China-pm mailing list > > > > China-pm at pm.org > > > > http://mail.pm.org/mailman/listinfo/china-pm > > > > > > > > > > > > -- > > > cheers, > > > -dongxu > > > __END__ > > > http://search.cpan.org/~dongxu > > > _______________________________________________ > > > 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 > > > > > -- > cheers, > -dongxu > __END__ > http://search.cpan.org/~dongxu > > _______________________________________________ > China-pm mailing list > China-pm at pm.org > http://mail.pm.org/mailman/listinfo/china-pm > -- --------------------------- Achilles Xu http://www.lazycode.org/achilles/ -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.pm.org/pipermail/china-pm/attachments/20070417/6e233681/attachment.html From formalin14 at gmail.com Tue Apr 17 00:16:48 2007 From: formalin14 at gmail.com (Achilles Xu) Date: Tue, 17 Apr 2007 15:16:48 +0800 Subject: [PerlChina] =?gb2312?b?ob7H673Mob+088G/zsS1tbSmwO21xMqxuvKjrNT1?= =?gb2312?b?w7Sxo7PW1tC85Ne0zKyjrNLUsePNo9a5uvPE3LzM0PjUy9DQo78=?= In-Reply-To: <1700c2710704100117j4338a87epcca8a316f54738a6@mail.gmail.com> References: <1700c2710704100117j4338a87epcca8a316f54738a6@mail.gmail.com> Message-ID: <4a6c0ba80704170016i4ad34306kd8dda4c466e88dd@mail.gmail.com> 使用现成的数据存储方案,比如bdb,mysql,或者自己定义文件存储。记录下每个url的状态(已抓/未抓)即可。 在07-4-10,zongzi 写道: > > 问一个可能很傻的问题: > 我尝试抓取网上的小说看。 > 我还不会弄数据库什么的,我的处理过程就是:脚本+txt+批处理+wget。 > 脚本作些简单的数据提取,例如从一个用wget抓到的html网页中,取出URL,然后生成批处理文件。 > TXT是我现在的各种数据的存储方式。 > 批处理的作用就是调用wget,把URL作为参数去下载网页。 > > 现在的问题是,我希望能处理一部分之后,断了,还能继续接着处理。 > 该怎么处理这些正在下载、已经下载、等待下载什么的状态哪? > 或者说,怎么用文件保存一个列表中处理了一半的位置,下次能从这里开始继续处理? > > > -- > 这是一个有钱人的世界,与我的世界截然不同! > _______________________________________________ > China-pm mailing list > China-pm at pm.org > http://mail.pm.org/mailman/listinfo/china-pm -- --------------------------- Achilles Xu http://www.lazycode.org/achilles/ -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.pm.org/pipermail/china-pm/attachments/20070417/e0f2c797/attachment.html From formalin14 at gmail.com Tue Apr 17 00:19:32 2007 From: formalin14 at gmail.com (Achilles Xu) Date: Tue, 17 Apr 2007 15:19:32 +0800 Subject: [PerlChina] =?gb2312?b?UGVybCDKudPD?= In-Reply-To: <41143d8f0704082155n4cccc1fem7039445d21970768@mail.gmail.com> References: <30100259.1175787997613.JavaMail.root@elwamui-karabash.atl.sa.earthlink.net> <4590d5230704080544q4632c455yd78df21e6ddaa2e0@mail.gmail.com> <4001da2f0704081858p2cb00a55r7027742835d5b33c@mail.gmail.com> <4619A7F3.7040606@gmail.com> <1700c2710704082054v65a1ecc5r6dc4ecb0e081dea0@mail.gmail.com> <4619BC8D.7000307@gmail.com> <41143d8f0704082155n4cccc1fem7039445d21970768@mail.gmail.com> Message-ID: <4a6c0ba80704170019y2f78f43l3f881d8b60ced0cc@mail.gmail.com> 现在的工作有机会用perl写分布式文件系统。以前也就是主要拿来写辅助工具。 在07-4-9,缘起和合 写道: > > 其实主要就是字符处理什么的,脚本管理,log处理,偶尔写个CGI > > On 4/9/07, Fayland Lam wrote: > > > > 我一般做 web 开发,catalyst+dbix+tt2 > > > > zongzi wrote: > > > 俺第一次接触perl,是玩RO(网络游戏:仙境传说)的时候,有个perl写的外挂。 > > > > > > 工作中极少用到,只用来处理过一次log文件。 > > > > > > 平时主要是用来抓取点网页,提取点数据什么的。批量修改些文本什么的。 > > > > > > 绝对是最初级的用户了。 > > > > > > 用的代码基本都是在别人基础上,修改一点点就使用的。 > > > > > > > > _______________________________________________ > > China-pm mailing list > > China-pm at pm.org > > http://mail.pm.org/mailman/listinfo/china-pm > > > > > -- > ------======Nerazzurri======------ > _______________________________________________ > China-pm mailing list > China-pm at pm.org > http://mail.pm.org/mailman/listinfo/china-pm > -- --------------------------- Achilles Xu http://www.lazycode.org/achilles/ -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.pm.org/pipermail/china-pm/attachments/20070417/493f4215/attachment-0001.html From wanmyome at gmail.com Tue Apr 17 00:29:16 2007 From: wanmyome at gmail.com (=?UTF-8?B?5LiH5pyd5Lyf?=) Date: Tue, 17 Apr 2007 00:29:16 -0700 Subject: [PerlChina] =?utf-8?b?44CQ6K+35pWZ44CR5aSn6YeP5paH5qGj5aSE55CG?= =?utf-8?b?55qE5pe25YCZ77yM5oCO5LmI5L+d5oyB5Lit6Ze054q25oCB77yM5Lul?= =?utf-8?b?5L6/5YGc5q2i5ZCO6IO957un57ut6L+Q6KGM77yf?= In-Reply-To: <4a6c0ba80704170016i4ad34306kd8dda4c466e88dd@mail.gmail.com> References: <1700c2710704100117j4338a87epcca8a316f54738a6@mail.gmail.com> <4a6c0ba80704170016i4ad34306kd8dda4c466e88dd@mail.gmail.com> Message-ID: <9ff89e80704170029l67ae98e7n818f89054b7ffdca@mail.gmail.com> 建议复制粘贴 在07-4-17,Achilles Xu 写道: > > 使用现成的数据存储方案,比如bdb,mysql,或者自己定义文件存储。记录下每个url的状态(已抓/未抓)即可。 > > 在07-4-10,zongzi 写道: > > > > 问一个可能很傻的问题: > > 我尝试抓取网上的小说看。 > > 我还不会弄数据库什么的,我的处理过程就是:脚本+txt+批处理+wget。 > > 脚本作些简单的数据提取,例如从一个用wget抓到的html网页中,取出URL,然后生成批处理文件。 > > TXT是我现在的各种数据的存储方式。 > > 批处理的作用就是调用wget,把URL作为参数去下载网页。 > > > > 现在的问题是,我希望能处理一部分之后,断了,还能继续接着处理。 > > 该怎么处理这些正在下载、已经下载、等待下载什么的状态哪? > > 或者说,怎么用文件保存一个列表中处理了一半的位置,下次能从这里开始继续处理? > > > > > > -- > > 这是一个有钱人的世界,与我的世界截然不同! > > _______________________________________________ > > China-pm mailing list > > China-pm at pm.org > > http://mail.pm.org/mailman/listinfo/china-pm > > > > > -- > --------------------------- > Achilles Xu > http://www.lazycode.org/achilles/ > _______________________________________________ > China-pm mailing list > China-pm at pm.org > http://mail.pm.org/mailman/listinfo/china-pm > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.pm.org/pipermail/china-pm/attachments/20070417/7242a57f/attachment.html From dongxu.ma at gmail.com Tue Apr 17 02:28:01 2007 From: dongxu.ma at gmail.com (Dongxu Ma) Date: Tue, 17 Apr 2007 17:28:01 +0800 Subject: [PerlChina] =?gb2312?b?ob7H673Mob+088G/zsS1tbSmwO21xMqxuvKjrNT1?= =?gb2312?b?w7Sxo7PW1tC85Ne0zKyjrNLUsePNo9a5uvPE3LzM0PjUy9DQo78=?= In-Reply-To: <4a6c0ba80704170016i4ad34306kd8dda4c466e88dd@mail.gmail.com> References: <1700c2710704100117j4338a87epcca8a316f54738a6@mail.gmail.com> <4a6c0ba80704170016i4ad34306kd8dda4c466e88dd@mail.gmail.com> Message-ID: <9bc0d5d20704170228j7e4bc196ib1ac653522b90fd1@mail.gmail.com> wget -c 在07-4-17,Achilles Xu 写道: > > 使用现成的数据存储方案,比如bdb,mysql,或者自己定义文件存储。记录下每个url的状态(已抓/未抓)即可。 > > 在07-4-10,zongzi 写道: > > > > 问一个可能很傻的问题: > > 我尝试抓取网上的小说看。 > > 我还不会弄数据库什么的,我的处理过程就是:脚本+txt+批处理+wget。 > > 脚本作些简单的数据提取,例如从一个用wget抓到的html网页中,取出URL,然后生成批处理文件。 > > TXT是我现在的各种数据的存储方式。 > > 批处理的作用就是调用wget,把URL作为参数去下载网页。 > > > > 现在的问题是,我希望能处理一部分之后,断了,还能继续接着处理。 > > 该怎么处理这些正在下载、已经下载、等待下载什么的状态哪? > > 或者说,怎么用文件保存一个列表中处理了一半的位置,下次能从这里开始继续处理? > > > > > > -- > > 这是一个有钱人的世界,与我的世界截然不同! > > _______________________________________________ > > China-pm mailing list > > China-pm at pm.org > > http://mail.pm.org/mailman/listinfo/china-pm > > > > > -- > --------------------------- > Achilles Xu > http://www.lazycode.org/achilles/ > _______________________________________________ > China-pm mailing list > China-pm at pm.org > http://mail.pm.org/mailman/listinfo/china-pm > -- cheers, -dongxu __END__ http://search.cpan.org/~dongxu -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.pm.org/pipermail/china-pm/attachments/20070417/cc006c61/attachment.html From zhuzhu at perlchina.org Tue Apr 17 02:37:01 2007 From: zhuzhu at perlchina.org (Zhu Zhu) Date: Tue, 17 Apr 2007 17:37:01 +0800 Subject: [PerlChina] =?gbk?b?ob7H673Mob9wZXJszOHIoc340rNUWFTKsbrytcTC0sLr?= =?gbk?b?zsrM4g==?= In-Reply-To: <4a6c0ba80704170007y4a006536t775f0bc63bc89ffb@mail.gmail.com> References: <1700c2710704112040u772fb654s934a09b5691654ea@mail.gmail.com> <41143d8f0704120302v1401be9bta51280b62b454db8@mail.gmail.com> <461F43FD.7070205@perlchina.org> <1700c2710704121756q67cdb54asa70fa5c96e41e616@mail.gmail.com> <9bc0d5d20704122105v745c385nde7036f052c59148@mail.gmail.com> <1700c2710704141549t55627217q74b28c754f6bf05a@mail.gmail.com> <9bc0d5d20704142338m57f1cd7n74305ce16b89ce65@mail.gmail.com> <4a6c0ba80704170007y4a006536t775f0bc63bc89ffb@mail.gmail.com> Message-ID: 没有遇到过,我只遇到过 1G - 2G 的日志处理,不过我不知道怎么才能合理读取这么 大的文件, 要求是从日志文件中每天提取前一天的记录。到每个月 20号的时候就用差不多2G了, 请问 对于这种大日志文件我该怎么做呢? 在 Tue, 17 Apr 2007 15:07:19 +0800,Achilles Xu 写 道: > perl中处理中文的原则: > > 让中文字符串在perl中以utf8的形式存在。一个字符串进来的时候如果是其他编 > 码,先转成utf8,出去的时候再转成相应的编码。这样可以保证任何操作都不出 > 错。 > > 在07-4-15,Dongxu Ma 写道: >> >> yes, your input stream was encoded as GB2312. >> >> 在07-4-15,zongzi 写道: >> > >> > 就是说需要强制作一次转码才行? >> > >> > 在 07-4-13,Dongxu Ma 写道: >> > > `iconv -f GB2312 -t UTF8 p0.html' showed me Chinese inside that >> html, >> > > which means while reading from html in your script, you need to >> decode >> > >> > > from GB2312. By something like: >> > > >> > > 1. Encode::decode("GB2312", ) >> > > 2. bindmode INPUT, ":encoding('GB2312')" >> > > >> > > 在07-4-13,zongzi < honghunter at gmail.com> 写道: >> > > > 编辑器我用的UltraEdit32。 >> > > > >> > > > 网页编码都是,还需要什么转换吗? >> > > > >> > > > >> > > > 在 07-4-13,Beckheng Lam 写道: >> > > > > 是不是跟gbk或者utf8有关? >> > > > > >> > > > > 缘起和合 wrote: >> > > > > 什么编辑器干的?确实很乱,用VIM吧 >> > > > > >> > > > > On 4/12/07, zongzi wrote: >> > > > > > >> > > > > >> > > 为了方便放在PDA上面看小说,我用wget把网页(是新浪读书频道)下载到本 >> 机,然后用perl去把其中的正文提取出来。 >> > > > > > >> > > > > > 发现弄出来的txt文档中,有好多乱码(用记事本打开看的时候)。 >> > > > > > >> > > > > > 请教大家怎么才能解决? >> > > > > > >> > > > > > >> > > > > > 附件是我的代码,写的非常乱。真是不好意思了。 >> > > > > > >> > > > > > -- >> > > > > > 这是一个有钱人的世界,与我的世界截然不同! >> > > > > > >> > > > > > _______________________________________________ >> > > > > > China-pm mailing list >> > > > > > China-pm at pm.org >> > > > > > http://mail.pm.org/mailman/listinfo/china-pm >> > > > > > >> > > > > > >> > > > > >> > > > > >> > > > > >> > > > > -- >> > > > > ------======Nerazzurri======------ >> > > > > ________________________________ >> > > > > >> > > > _______________________________________________ >> > > > 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 >> > > > > >> > > > >> > > > >> > > > -- >> > > > 这是一个有钱人的世界,与我的世界截然不同! >> > > > _______________________________________________ >> > > > China-pm mailing list >> > > > China-pm at pm.org >> > > > http://mail.pm.org/mailman/listinfo/china-pm >> > > >> > > >> > > >> > > -- >> > > cheers, >> > > -dongxu >> > > __END__ >> > > http://search.cpan.org/~dongxu >> > > _______________________________________________ >> > > 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 >> >> >> >> >> -- >> cheers, >> -dongxu >> __END__ >> http://search.cpan.org/~dongxu >> >> _______________________________________________ >> China-pm mailing list >> China-pm at pm.org >> http://mail.pm.org/mailman/listinfo/china-pm >> > > > -- http://fred.webcan.cn From dongxu.ma at gmail.com Tue Apr 17 02:59:52 2007 From: dongxu.ma at gmail.com (Dongxu Ma) Date: Tue, 17 Apr 2007 17:59:52 +0800 Subject: [PerlChina] =?gb2312?b?ob7H673Mob9wZXJszOHIoc340rNUWFTKsbrytcQ=?= =?gb2312?b?wtLC687KzOI=?= In-Reply-To: References: <1700c2710704112040u772fb654s934a09b5691654ea@mail.gmail.com> <41143d8f0704120302v1401be9bta51280b62b454db8@mail.gmail.com> <461F43FD.7070205@perlchina.org> <1700c2710704121756q67cdb54asa70fa5c96e41e616@mail.gmail.com> <9bc0d5d20704122105v745c385nde7036f052c59148@mail.gmail.com> <1700c2710704141549t55627217q74b28c754f6bf05a@mail.gmail.com> <9bc0d5d20704142338m57f1cd7n74305ce16b89ce65@mail.gmail.com> <4a6c0ba80704170007y4a006536t775f0bc63bc89ffb@mail.gmail.com> Message-ID: <9bc0d5d20704170259p56d4221aq8039cef568b23340@mail.gmail.com> 在07-4-17,Zhu Zhu 写道: > > 没有遇到过,我只遇到过 1G - 2G 的日志处理,不过我不知道怎么才能合理读取这么 > 大的文件, > 要求是从日志文件中每天提取前一天的记录。到每个月 20号的时候就用差不多2G了, > 请问 > 对于这种大日志文件我该怎么做呢? logrotate 在 Tue, 17 Apr 2007 15:07:19 +0800,Achilles Xu 写 > 道: > > > perl中处理中文的原则: > > > > 让中文字符串在perl中以utf8的形式存在。一个字符串进来的时候如果是其他编 > > 码,先转成utf8,出去的时候再转成相应的编码。这样可以保证任何操作都不出 > > 错。 > > > > 很对,如果只是单纯copy或者move这样的整块stream,不考虑编码一般没问题。 但要process,比如现在要分析html结构,就另当别论了。 process通常需要识别一定的token,比如html中的'<' '>'。 宽字节的编码都会把非asc部分编码为两个或以上字节,如果你把这些编码后的字节串 直接看作asc,(这是你perl里将为出现的情况),那某个宽字符编码出来的某个byte可 能恰好就是'<'或者'>',这是导致混乱的原因,如果像libXML这样的非容错解析,会 马上报错,碰上可容错的,一般会把到此为止的部分return回去。 这是转为utf8的真正原因,因为perl里unicode编码就是utf8。 -- cheers, -dongxu __END__ http://search.cpan.org/~dongxu -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.pm.org/pipermail/china-pm/attachments/20070417/dbb64c2f/attachment.html From formalin14 at gmail.com Tue Apr 17 03:13:29 2007 From: formalin14 at gmail.com (Achilles Xu) Date: Tue, 17 Apr 2007 18:13:29 +0800 Subject: [PerlChina] =?gb2312?b?ob7H673Mob9wZXJszOHIoc340rNUWFTKsbrytcQ=?= =?gb2312?b?wtLC687KzOI=?= In-Reply-To: <9bc0d5d20704170259p56d4221aq8039cef568b23340@mail.gmail.com> References: <1700c2710704112040u772fb654s934a09b5691654ea@mail.gmail.com> <41143d8f0704120302v1401be9bta51280b62b454db8@mail.gmail.com> <461F43FD.7070205@perlchina.org> <1700c2710704121756q67cdb54asa70fa5c96e41e616@mail.gmail.com> <9bc0d5d20704122105v745c385nde7036f052c59148@mail.gmail.com> <1700c2710704141549t55627217q74b28c754f6bf05a@mail.gmail.com> <9bc0d5d20704142338m57f1cd7n74305ce16b89ce65@mail.gmail.com> <4a6c0ba80704170007y4a006536t775f0bc63bc89ffb@mail.gmail.com> <9bc0d5d20704170259p56d4221aq8039cef568b23340@mail.gmail.com> Message-ID: <4a6c0ba80704170313o1d6feb8cg2f373862ed884574@mail.gmail.com> 对于大文件,如果需要读取速度,就不要一行一行低地读,因为这样会导致每个字符都与\n比较。可以依据个人内存的大小,一次用sysread读入100M,在内存中处理。尽量减少I/O的次数。处理内存中的数据的时候,最好使用Inline::C,以尽量减少内存拷贝。比如以\n切割字符串到数组里,只需把\n的这格内存替换成\0,然后把切开的各个字符串的起始位置指针压入返回值栈就行了。 在07-4-17,Dongxu Ma 写道: > > 在07-4-17,Zhu Zhu 写道: > > > > 没有遇到过,我只遇到过 1G - 2G 的日志处理,不过我不知道怎么才能合理读取这么 > > 大的文件, > > 要求是从日志文件中每天提取前一天的记录。到每个月 20号的时候就用差不多2G了, > > 请问 > > 对于这种大日志文件我该怎么做呢? > > > logrotate > > 在 Tue, 17 Apr 2007 15:07:19 +0800,Achilles Xu 写 > > 道: > > > > > perl中处理中文的原则: > > > > > > 让中文字符串在perl中以utf8的形式存在。一个字符串进来的时候如果是其他编 > > > 码,先转成utf8,出去的时候再转成相应的编码。这样可以保证任何操作都不出 > > > 错。 > > > > > > > > 很对,如果只是单纯copy或者move这样的整块stream,不考虑编码一般没问题。 > 但要process,比如现在要分析html结构,就另当别论了。 > process通常需要识别一定的token,比如html中的'<' '>'。 > 宽字节的编码都会把非asc部分编码为两个或以上字节,如果你把这些编码后的字节串 > 直接看作asc,(这是你perl里将为出现的情况),那某个宽字符编码出来的某个byte可 > 能恰好就是'<'或者'>',这是导致混乱的原因,如果像libXML这样的非容错解析,会 > 马上报错,碰上可容错的,一般会把到此为止的部分return回去。 > 这是转为utf8的真正原因,因为perl里unicode编码就是utf8。 > -- > cheers, > -dongxu > __END__ > http://search.cpan.org/~dongxu > > _______________________________________________ > China-pm mailing list > China-pm at pm.org > http://mail.pm.org/mailman/listinfo/china-pm > -- --------------------------- Achilles Xu http://www.lazycode.org/achilles/ -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.pm.org/pipermail/china-pm/attachments/20070417/09216f43/attachment-0001.html From zhuzhu at perlchina.org Tue Apr 17 19:28:09 2007 From: zhuzhu at perlchina.org (Zhu Zhu) Date: Wed, 18 Apr 2007 10:28:09 +0800 Subject: [PerlChina] =?gbk?b?ob7H673Mob9wZXJszOHIoc340rNUWFTKsbrytcTC0sLr?= =?gbk?b?zsrM4g==?= In-Reply-To: <9bc0d5d20704170259p56d4221aq8039cef568b23340@mail.gmail.com> References: <1700c2710704112040u772fb654s934a09b5691654ea@mail.gmail.com> <41143d8f0704120302v1401be9bta51280b62b454db8@mail.gmail.com> <461F43FD.7070205@perlchina.org> <1700c2710704121756q67cdb54asa70fa5c96e41e616@mail.gmail.com> <9bc0d5d20704122105v745c385nde7036f052c59148@mail.gmail.com> <1700c2710704141549t55627217q74b28c754f6bf05a@mail.gmail.com> <9bc0d5d20704142338m57f1cd7n74305ce16b89ce65@mail.gmail.com> <4a6c0ba80704170007y4a006536t775f0bc63bc89ffb@mail.gmail.com> <9bc0d5d20704170259p56d4221aq8039cef568b23340@mail.gmail.com> Message-ID: 在 Tue, 17 Apr 2007 17:59:52 +0800,Dongxu Ma 写道: > logrotate logrotate ? 我去研究一下,谢谢。哈哈。 -- http://fred.webcan.cn From formalin14 at gmail.com Tue Apr 17 20:19:43 2007 From: formalin14 at gmail.com (Achilles Xu) Date: Wed, 18 Apr 2007 11:19:43 +0800 Subject: [PerlChina] =?gb2312?b?vajS6dXiuPbTyrz+wdCx7deqt6LDv9bctcRwZXJs?= =?gb2312?b?Ntbcsag=?= Message-ID: <4a6c0ba80704172019l6d770a21q900bd7d0823dec47@mail.gmail.com> -- --------------------------- Achilles Xu http://www.lazycode.org/achilles/ -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.pm.org/pipermail/china-pm/attachments/20070418/65e57e00/attachment.html From fayland at gmail.com Tue Apr 17 20:25:04 2007 From: fayland at gmail.com (Fayland Lam) Date: Wed, 18 Apr 2007 03:25:04 +0000 Subject: [PerlChina] =?utf-8?b?5bu66K6u6L+Z5Liq6YKu5Lu25YiX6KGo6L2s5Y+R?= =?utf-8?b?5q+P5ZGo55qEcGVybDblkajmiqU=?= In-Reply-To: <4a6c0ba80704172019l6d770a21q900bd7d0823dec47@mail.gmail.com> References: <4a6c0ba80704172019l6d770a21q900bd7d0823dec47@mail.gmail.com> Message-ID: <46258F90.4010800@gmail.com> Achilles Xu wrote: > > well, u go. :-) > -- > --------------------------- > Achilles Xu > http://www.lazycode.org/achilles/ > ------------------------------------------------------------------------ > > _______________________________________________ > China-pm mailing list > China-pm at pm.org > http://mail.pm.org/mailman/listinfo/china-pm -- Fayland Lam // http://www.fayland.org/ From pangj at earthlink.net Tue Apr 17 20:34:57 2007 From: pangj at earthlink.net (Jeff Pang) Date: Wed, 18 Apr 2007 11:34:57 +0800 Subject: [PerlChina] =?gb2312?b?vajS6dXiuPbTyrz+wdCx7deqt6LDv9bctcRwZXJs?= =?gb2312?b?Ntbcsag=?= In-Reply-To: <4a6c0ba80704172019l6d770a21q900bd7d0823dec47@mail.gmail.com> References: <4a6c0ba80704172019l6d770a21q900bd7d0823dec47@mail.gmail.com> Message-ID: <913717600704172034k642f2269me234982c32e60d89@mail.gmail.com> 自己subscribe不就行了么? -- mailto: pangj at earthlink.net http://home.arcor.de/jeffpang/ From formalin14 at gmail.com Tue Apr 17 20:36:23 2007 From: formalin14 at gmail.com (Achilles Xu) Date: Wed, 18 Apr 2007 11:36:23 +0800 Subject: [PerlChina] =?gb2312?b?vajS6dXiuPbTyrz+wdCx7deqt6LDv9bctcRwZXJs?= =?gb2312?b?Ntbcsag=?= In-Reply-To: <913717600704172034k642f2269me234982c32e60d89@mail.gmail.com> References: <4a6c0ba80704172019l6d770a21q900bd7d0823dec47@mail.gmail.com> <913717600704172034k642f2269me234982c32e60d89@mail.gmail.com> Message-ID: <4a6c0ba80704172036y56382853h12752eb820fa4203@mail.gmail.com> 转发了大家可以讨论讨论嘛。 2007/4/18, Jeff Pang : > > 自己subscribe不就行了么? > > > -- > mailto: pangj at earthlink.net > http://home.arcor.de/jeffpang/ > _______________________________________________ > China-pm mailing list > China-pm at pm.org > http://mail.pm.org/mailman/listinfo/china-pm -- --------------------------- Achilles Xu http://www.lostcode.org -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.pm.org/pipermail/china-pm/attachments/20070418/0faab240/attachment.html From shijialee at gmail.com Tue Apr 17 22:35:47 2007 From: shijialee at gmail.com (Qiang ( James ) Li) Date: Wed, 18 Apr 2007 01:35:47 -0400 Subject: [PerlChina] =?utf-8?b?cGVybGNoaW5hIHdpa2kg6LCD5p+l?= Message-ID: <4625AE33.6000607@gmail.com> hello, 旧的 wiki 因为软件问题所以我们计划移植到其他 wiki 上。现在 Yahoo 的朋友 赞助了空间和 mediawiki。我现在测试了一下,目前只是不满意自带的 css 。翻 译的文章里中英文夹带很难看。比如这个链接 http://wiki.perlchina.org/index.php/Perl%E5%91%BD%E4%BB%A4%E8%A1%8C%E5%BA%94%E7%94%A8%E4%BB%8B%E7%BB%8D 目前这个 wiki 还只是调试阶段,我想看看大家的意见。域名还没有指向正确的 ip, 所以你需要把 wiki.perlchina.org 指到 60.28.199.50 来访问 ( unix 修改 /etc/host.conf , win xp 下修改 C:\WINDOWS\system32\drivers\etc\host 文件 ) 。 wiki 要求主要是好用。什么语言写的是其次。 其他值得考虑的 wiki 有 twiki 和 dokuwiki ( http://wiki.splitbrain.org/wiki:dokuwiki )。 Qiang From formalin14 at gmail.com Tue Apr 17 22:37:30 2007 From: formalin14 at gmail.com (Achilles Xu) Date: Wed, 18 Apr 2007 13:37:30 +0800 Subject: [PerlChina] =?gb2312?b?cGVybGNoaW5hIHdpa2kgtfey6Q==?= In-Reply-To: <4625AE33.6000607@gmail.com> References: <4625AE33.6000607@gmail.com> Message-ID: <4a6c0ba80704172237q552bb58fn780cd4297cb0615e@mail.gmail.com> 好用的话还是moinmoin 在07-4-18,Qiang ( James ) Li 写道: > > hello, > > 旧的 wiki 因为软件问题所以我们计划移植到其他 wiki 上。现在 Yahoo 的朋友 > 赞助了空间和 mediawiki。我现在测试了一下,目前只是不满意自带的 css 。翻 > 译的文章里中英文夹带很难看。比如这个链接 > > http://wiki.perlchina.org/index.php/Perl%E5%91%BD%E4%BB%A4%E8%A1%8C%E5%BA%94%E7%94%A8%E4%BB%8B%E7%BB%8D > > 目前这个 wiki 还只是调试阶段,我想看看大家的意见。域名还没有指向正确的 > ip, 所以你需要把 wiki.perlchina.org 指到 60.28.199.50 来访问 ( unix 修改 > /etc/host.conf , win xp 下修改 C:\WINDOWS\system32\drivers\etc\host 文件 > ) 。 > > wiki 要求主要是好用。什么语言写的是其次。 > > 其他值得考虑的 wiki 有 twiki 和 dokuwiki ( > http://wiki.splitbrain.org/wiki:dokuwiki )。 > > Qiang > _______________________________________________ > China-pm mailing list > China-pm at pm.org > http://mail.pm.org/mailman/listinfo/china-pm -- --------------------------- Achilles Xu http://www.lostcode.org -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.pm.org/pipermail/china-pm/attachments/20070418/e927c00f/attachment.html From zhuzhu at perlchina.org Tue Apr 17 22:49:29 2007 From: zhuzhu at perlchina.org (Zhu Zhu) Date: Wed, 18 Apr 2007 13:49:29 +0800 Subject: [PerlChina] =?gbk?q?perlchina_wiki_=B5=F7=B2=E9?= In-Reply-To: <4625AE33.6000607@gmail.com> References: <4625AE33.6000607@gmail.com> Message-ID: 感觉 WIKI 的存在只是因为形式,好像国内很多人都没有浏览WIKI的习惯,就好像几 年前很多人不知道BLOG 是什么东西一样,直到几个门户开始做BLOG之后才知道,也许这个不重要,反正 PERLCHINA的用户知道怎么 用就可以了。入门级用户就先从GOOGLE开始吧~ 好用不好用没有什么,关键是要稳定的域名和空间,养成习惯了什么都好用了。 在 Wed, 18 Apr 2007 13:35:47 +0800,Qiang ( James ) Li 写道: > hello, > > 旧的 wiki 因为软件问题所以我们计划移植到其他 wiki 上。现在 Yahoo 的朋友 > 赞助了空间和 mediawiki。我现在测试了一下,目前只是不满意自带的 css 。翻 > 译的文章里中英文夹带很难看。比如这个链接 > http://wiki.perlchina.org/index.php/Perl%E5%91%BD%E4%BB%A4%E8%A1%8C%E5%BA%94%E7%94%A8%E4%BB%8B%E7%BB%8D > > 目前这个 wiki 还只是调试阶段,我想看看大家的意见。域名还没有指向正确的 > ip, 所以你需要把 wiki.perlchina.org 指到 60.28.199.50 来访问 ( unix 修改 > /etc/host.conf , win xp 下修改 C:\WINDOWS\system32\drivers\etc\host 文件 > ) 。 > > wiki 要求主要是好用。什么语言写的是其次。 > > 其他值得考虑的 wiki 有 twiki 和 dokuwiki ( > http://wiki.splitbrain.org/wiki:dokuwiki )。 > > Qiang > _______________________________________________ > China-pm mailing list > China-pm at pm.org > http://mail.pm.org/mailman/listinfo/china-pm -- http://fred.webcan.cn From jester at perlchina.org Tue Apr 17 23:23:36 2007 From: jester at perlchina.org (Jester) Date: Wed, 18 Apr 2007 14:23:36 +0800 Subject: [PerlChina] =?utf-8?b?5aaC5L2V5b+r6YCf6L+b6KGM562J6ZW/5a2X56ym?= =?utf-8?b?5Liy55qE5oyJ5L2N5q+U6L6D77yf?= References: <4625AE33.6000607@gmail.com> Message-ID: <001401c78182$44a0a9e0$2f03000a@jester> 问个问题,看看大家有没有什么高招。 我需要进行两个“等长”的字符串的“按位”比较,举例而言: $a='abcdeafaidnfiowndingfodnsingisdnsod'; $b='abcbeafaidniiowndingfodnsingisdxsod'; 我希望做成这样的一个sub,比如叫cmpstr, cmpstr($a,$b)将返回一个array,其中包含了这两个字符串中所有不同的位点的位置。 那么对于上面的例子也就是会返回(4,12,32)。 当然,这只是一个例子,我实际的应用中这两个字符串可能很长,但是肯定是等长的。 目前我知道可以用substr一个一个的提取然后比较,但是我觉得这样会很慢,不知道是否有更加高效的解决方案? 我觉得位运算的效率很高,但是对于我现在的要求好像又不太好用…… 请大家帮忙出点高招。 Jester From formalin14 at gmail.com Tue Apr 17 23:33:45 2007 From: formalin14 at gmail.com (Achilles Xu) Date: Wed, 18 Apr 2007 14:33:45 +0800 Subject: [PerlChina] =?gb2312?b?yOe6zr/sy9m9+NDQtcizpNfWt/u0rrXEsLTOu7HI?= =?gb2312?b?vc+jvw==?= In-Reply-To: <001401c78182$44a0a9e0$2f03000a@jester> References: <4625AE33.6000607@gmail.com> <001401c78182$44a0a9e0$2f03000a@jester> Message-ID: <4a6c0ba80704172333u3b460d1cy3684a4dfd7ad714d@mail.gmail.com> 毫无疑问,应该用Inline::C 在07-4-18,Jester 写道: > > 问个问题,看看大家有没有什么高招。 > 我需要进行两个"等长"的字符串的"按位"比较,举例而言: > $a='abcdeafaidnfiowndingfodnsingisdnsod'; > $b='abcbeafaidniiowndingfodnsingisdxsod'; > 我希望做成这样的一个sub,比如叫cmpstr, > cmpstr($a,$b)将返回一个array,其中包含了这两个字符串中所有不同的位点的位置。 > 那么对于上面的例子也就是会返回(4,12,32)。 > 当然,这只是一个例子,我实际的应用中这两个字符串可能很长,但是肯定是等长的。 > 目前我知道可以用substr一个一个的提取然后比较,但是我觉得这样会很慢,不知道是否有更加高效的解决方案? > 我觉得位运算的效率很高,但是对于我现在的要求好像又不太好用…… > 请大家帮忙出点高招。 > > > Jester > _______________________________________________ > China-pm mailing list > China-pm at pm.org > http://mail.pm.org/mailman/listinfo/china-pm -- --------------------------- Achilles Xu http://www.lostcode.org -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.pm.org/pipermail/china-pm/attachments/20070418/63e2c036/attachment.html From formalin14 at gmail.com Tue Apr 17 23:53:07 2007 From: formalin14 at gmail.com (Achilles Xu) Date: Wed, 18 Apr 2007 14:53:07 +0800 Subject: [PerlChina] =?gb2312?b?yOe6zr/sy9m9+NDQtcizpNfWt/u0rrXEsLTOu7HI?= =?gb2312?b?vc+jvw==?= In-Reply-To: <4a6c0ba80704172333u3b460d1cy3684a4dfd7ad714d@mail.gmail.com> References: <4625AE33.6000607@gmail.com> <001401c78182$44a0a9e0$2f03000a@jester> <4a6c0ba80704172333u3b460d1cy3684a4dfd7ad714d@mail.gmail.com> Message-ID: <4a6c0ba80704172353s17fd8fcel87918740b7795a54@mail.gmail.com> 代码如下: #!/usr/bin/perl use strict; use Inline 'C' => q% void compstr(SV* str1, SV* str2) { STRLEN l1, l2; int i; char *s1, *s2; Inline_Stack_Vars; Inline_Stack_Reset; s1 = SvPV(str1, l1); s2 = SvPV(str2, l2); for (i=0;i 写道: > > 毫无疑问,应该用Inline::C > > 在07-4-18,Jester 写道: > > > > 问个问题,看看大家有没有什么高招。 > > 我需要进行两个"等长"的字符串的"按位"比较,举例而言: > > $a='abcdeafaidnfiowndingfodnsingisdnsod'; > > $b='abcbeafaidniiowndingfodnsingisdxsod'; > > 我希望做成这样的一个sub,比如叫cmpstr, > > cmpstr($a,$b)将返回一个array,其中包含了这两个字符串中所有不同的位点的位置。 > > 那么对于上面的例子也就是会返回(4,12,32)。 > > 当然,这只是一个例子,我实际的应用中这两个字符串可能很长,但是肯定是等长的。 > > 目前我知道可以用substr一个一个的提取然后比较,但是我觉得这样会很慢,不知道是否有更加高效的解决方案? > > 我觉得位运算的效率很高,但是对于我现在的要求好像又不太好用…… > > 请大家帮忙出点高招。 > > > > > > Jester > > _______________________________________________ > > China-pm mailing list > > China-pm at pm.org > > http://mail.pm.org/mailman/listinfo/china-pm > > > > > -- > --------------------------- > Achilles Xu > http://www.lostcode.org -- --------------------------- Achilles Xu http://www.lostcode.org -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.pm.org/pipermail/china-pm/attachments/20070418/88d06bad/attachment.html From fayland at gmail.com Wed Apr 18 04:40:32 2007 From: fayland at gmail.com (Fayland Lam) Date: Wed, 18 Apr 2007 11:40:32 +0000 Subject: [PerlChina] POD2-CN trunk move Message-ID: <462603B0.2030509@gmail.com> since our dear PerlChina host 'chunzi' want to close his svn.perlchina.org ( http://perlchina.sun126.com/cgi-bin/ccb/topic_view.cgi?forum=1&article_id=0001070418171742&publishtime_id=0001070418171742&class= ) so I move the "POD2::CN" to perlchina googlesvn http://code.google.com/p/perlchina/ send me a note if u want to join us (u need a google account). Thanks. -- Fayland Lam // http://www.fayland.org/ From formalin14 at gmail.com Wed Apr 18 19:06:29 2007 From: formalin14 at gmail.com (Achilles Xu) Date: Thu, 19 Apr 2007 10:06:29 +0800 Subject: [PerlChina] POD2-CN trunk move In-Reply-To: <462603B0.2030509@gmail.com> References: <462603B0.2030509@gmail.com> Message-ID: <4a6c0ba80704181906h6d33735ag2f93e56654541781@mail.gmail.com> what is this project for? 2007/4/18, Fayland Lam : > > since our dear PerlChina host 'chunzi' want to close his > svn.perlchina.org ( > > http://perlchina.sun126.com/cgi-bin/ccb/topic_view.cgi?forum=1&article_id=0001070418171742&publishtime_id=0001070418171742&class= > ) > so I move the "POD2::CN" to perlchina googlesvn > > http://code.google.com/p/perlchina/ > > > send me a note if u want to join us (u need a google account). Thanks. > > -- > Fayland Lam // http://www.fayland.org/ > > _______________________________________________ > China-pm mailing list > China-pm at pm.org > http://mail.pm.org/mailman/listinfo/china-pm -- --------------------------- Achilles Xu http://www.lostcode.org -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.pm.org/pipermail/china-pm/attachments/20070419/44e9b71e/attachment.html From fayland at gmail.com Wed Apr 18 19:13:15 2007 From: fayland at gmail.com (Fayland Lam) Date: Thu, 19 Apr 2007 02:13:15 +0000 Subject: [PerlChina] POD2-CN trunk move In-Reply-To: <4a6c0ba80704181906h6d33735ag2f93e56654541781@mail.gmail.com> References: <462603B0.2030509@gmail.com> <4a6c0ba80704181906h6d33735ag2f93e56654541781@mail.gmail.com> Message-ID: <4626D03B.4080007@gmail.com> Achilles Xu wrote: > what is this project for? > translate the perlpod to Chinese. we will register a PAUSE account of 'PERLCHINA' later and release it to CPAN. :) > 2007/4/18, Fayland Lam >: > > since our dear PerlChina host 'chunzi' want to close his > svn.perlchina.org ( > http://perlchina.sun126.com/cgi-bin/ccb/topic_view.cgi?forum=1&article_id=0001070418171742&publishtime_id=0001070418171742&class= > > ) > so I move the "POD2::CN" to perlchina googlesvn > > http://code.google.com/p/perlchina/ > > > send me a note if u want to join us (u need a google account). Thanks. > > -- > Fayland Lam // http://www.fayland.org/ > > _______________________________________________ > China-pm mailing list > China-pm at pm.org > http://mail.pm.org/mailman/listinfo/china-pm > > > > > -- > --------------------------- > Achilles Xu > http://www.lostcode.org > ------------------------------------------------------------------------ > > _______________________________________________ > China-pm mailing list > China-pm at pm.org > http://mail.pm.org/mailman/listinfo/china-pm -- Fayland Lam // http://www.fayland.org/ From formalin14 at gmail.com Wed Apr 18 19:15:46 2007 From: formalin14 at gmail.com (Achilles Xu) Date: Thu, 19 Apr 2007 10:15:46 +0800 Subject: [PerlChina] POD2-CN trunk move In-Reply-To: <4626D03B.4080007@gmail.com> References: <462603B0.2030509@gmail.com> <4a6c0ba80704181906h6d33735ag2f93e56654541781@mail.gmail.com> <4626D03B.4080007@gmail.com> Message-ID: <4a6c0ba80704181915x7336cbdcia9cb3f8149837fdf@mail.gmail.com> ok, I would join, how? 2007/4/19, Fayland Lam : > > Achilles Xu wrote: > > what is this project for? > > > > translate the perlpod to Chinese. we will register a PAUSE account of > 'PERLCHINA' later and release it to CPAN. :) > > > > 2007/4/18, Fayland Lam >: > > > > since our dear PerlChina host 'chunzi' want to close his > > svn.perlchina.org ( > > > http://perlchina.sun126.com/cgi-bin/ccb/topic_view.cgi?forum=1&article_id=0001070418171742&publishtime_id=0001070418171742&class= > > < > http://perlchina.sun126.com/cgi-bin/ccb/topic_view.cgi?forum=1&article_id=0001070418171742&publishtime_id=0001070418171742&class= > > > > ) > > so I move the "POD2::CN" to perlchina googlesvn > > > > http://code.google.com/p/perlchina/ > > > > > > send me a note if u want to join us (u need a google account). > Thanks. > > > > -- > > Fayland Lam // http://www.fayland.org/ > > > > _______________________________________________ > > China-pm mailing list > > China-pm at pm.org > > http://mail.pm.org/mailman/listinfo/china-pm > > > > > > > > > > -- > > --------------------------- > > Achilles Xu > > http://www.lostcode.org > > ------------------------------------------------------------------------ > > > > _______________________________________________ > > China-pm mailing list > > China-pm at pm.org > > http://mail.pm.org/mailman/listinfo/china-pm > > > -- > Fayland Lam // http://www.fayland.org/ > > _______________________________________________ > China-pm mailing list > China-pm at pm.org > http://mail.pm.org/mailman/listinfo/china-pm -- --------------------------- Achilles Xu http://www.lostcode.org -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.pm.org/pipermail/china-pm/attachments/20070419/0a3c7726/attachment.html From fayland at gmail.com Wed Apr 18 19:21:53 2007 From: fayland at gmail.com (Fayland Lam) Date: Thu, 19 Apr 2007 02:21:53 +0000 Subject: [PerlChina] POD2-CN trunk move In-Reply-To: <4a6c0ba80704181915x7336cbdcia9cb3f8149837fdf@mail.gmail.com> References: <462603B0.2030509@gmail.com> <4a6c0ba80704181906h6d33735ag2f93e56654541781@mail.gmail.com> <4626D03B.4080007@gmail.com> <4a6c0ba80704181915x7336cbdcia9cb3f8149837fdf@mail.gmail.com> Message-ID: <4626D241.1070106@gmail.com> Achilles Xu wrote: > ok, I would join, how? > well, I added u as an admin for that project. http://code.google.com/p/perlchina/ try run: svn checkout */https/*://perlchina.googlecode.com/svn/trunk/ perlchina --username yourgoogleusername then the password would be here: http://code.google.com/hosting/settings have fun! see here for details: http://code.google.com/p/perlchina/source > 2007/4/19, Fayland Lam >: > > Achilles Xu wrote: > > what is this project for? > > > > translate the perlpod to Chinese. we will register a PAUSE account of > 'PERLCHINA' later and release it to CPAN. :) > > > > 2007/4/18, Fayland Lam < fayland at gmail.com > >>: > > > > since our dear PerlChina host 'chunzi' want to close his > > svn.perlchina.org > ( > > > http://perlchina.sun126.com/cgi-bin/ccb/topic_view.cgi?forum=1&article_id=0001070418171742&publishtime_id=0001070418171742&class= > > > < > http://perlchina.sun126.com/cgi-bin/ccb/topic_view.cgi?forum=1&article_id=0001070418171742&publishtime_id=0001070418171742&class= > > > > ) > > so I move the "POD2::CN" to perlchina googlesvn > > > > http://code.google.com/p/perlchina/ > > > > > > send me a note if u want to join us (u need a google > account). Thanks. > > > > -- > > Fayland Lam // http://www.fayland.org/ > > > > _______________________________________________ > > China-pm mailing list > > China-pm at pm.org > > > > http://mail.pm.org/mailman/listinfo/china-pm > > > > > > > > > > -- > > --------------------------- > > Achilles Xu > > http://www.lostcode.org > > > ------------------------------------------------------------------------ > > > > > _______________________________________________ > > China-pm mailing list > > China-pm at pm.org > > http://mail.pm.org/mailman/listinfo/china-pm > > > > -- > Fayland Lam // http://www.fayland.org/ > > _______________________________________________ > China-pm mailing list > China-pm at pm.org > http://mail.pm.org/mailman/listinfo/china-pm > > > > > -- > --------------------------- > Achilles Xu > http://www.lostcode.org > ------------------------------------------------------------------------ > > _______________________________________________ > China-pm mailing list > China-pm at pm.org > http://mail.pm.org/mailman/listinfo/china-pm -- Fayland Lam // http://www.fayland.org/ From dongxu.ma at gmail.com Wed Apr 18 19:47:22 2007 From: dongxu.ma at gmail.com (Dongxu Ma) Date: Thu, 19 Apr 2007 10:47:22 +0800 Subject: [PerlChina] POD2-CN trunk move In-Reply-To: <4626D241.1070106@gmail.com> References: <462603B0.2030509@gmail.com> <4a6c0ba80704181906h6d33735ag2f93e56654541781@mail.gmail.com> <4626D03B.4080007@gmail.com> <4a6c0ba80704181915x7336cbdcia9cb3f8149837fdf@mail.gmail.com> <4626D241.1070106@gmail.com> Message-ID: <9bc0d5d20704181947i64ffee34g202580714f82e0d3@mail.gmail.com> what is the prefered encoding? I saw both GB2312 and UTF8 have been used. Personally I would rather like UTF8. 2007/4/19, Fayland Lam : > > Achilles Xu wrote: > > ok, I would join, how? > > > > -- cheers, -dongxu __END__ http://search.cpan.org/~dongxu -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.pm.org/pipermail/china-pm/attachments/20070419/9b5baf63/attachment.html From fayland at gmail.com Wed Apr 18 19:51:00 2007 From: fayland at gmail.com (Fayland Lam) Date: Thu, 19 Apr 2007 02:51:00 +0000 Subject: [PerlChina] POD2-CN trunk move In-Reply-To: <9bc0d5d20704181947i64ffee34g202580714f82e0d3@mail.gmail.com> References: <462603B0.2030509@gmail.com> <4a6c0ba80704181906h6d33735ag2f93e56654541781@mail.gmail.com> <4626D03B.4080007@gmail.com> <4a6c0ba80704181915x7336cbdcia9cb3f8149837fdf@mail.gmail.com> <4626D241.1070106@gmail.com> <9bc0d5d20704181947i64ffee34g202580714f82e0d3@mail.gmail.com> Message-ID: <4626D914.7050206@gmail.com> Dongxu Ma wrote: > what is the prefered encoding? > I saw both GB2312 and UTF8 have been used. > Personally I would rather like UTF8. well, both is OK I think. add a line like this: =encode gb2312 =encode utf8 Thanks. > > 2007/4/19, Fayland Lam >: > > Achilles Xu wrote: > > ok, I would join, how? > > > > > -- > cheers, > -dongxu > __END__ > http://search.cpan.org/~dongxu > ------------------------------------------------------------------------ > > _______________________________________________ > China-pm mailing list > China-pm at pm.org > http://mail.pm.org/mailman/listinfo/china-pm -- Fayland Lam // http://www.fayland.org/ From formalin14 at gmail.com Wed Apr 18 19:54:57 2007 From: formalin14 at gmail.com (Achilles Xu) Date: Thu, 19 Apr 2007 10:54:57 +0800 Subject: [PerlChina] POD2-CN trunk move In-Reply-To: <9bc0d5d20704181947i64ffee34g202580714f82e0d3@mail.gmail.com> References: <462603B0.2030509@gmail.com> <4a6c0ba80704181906h6d33735ag2f93e56654541781@mail.gmail.com> <4626D03B.4080007@gmail.com> <4a6c0ba80704181915x7336cbdcia9cb3f8149837fdf@mail.gmail.com> <4626D241.1070106@gmail.com> <9bc0d5d20704181947i64ffee34g202580714f82e0d3@mail.gmail.com> Message-ID: <4a6c0ba80704181954h8987dccw9b48a009205e4b9b@mail.gmail.com> prefer utf8 too. ok, just have added and committed chinese perlintro.pod. how to avoid override each other? 2007/4/19, Dongxu Ma : > > what is the prefered encoding? > I saw both GB2312 and UTF8 have been used. > Personally I would rather like UTF8. > > 2007/4/19, Fayland Lam : > > > > Achilles Xu wrote: > > > ok, I would join, how? > > > > > > > > -- > cheers, > -dongxu > __END__ > http://search.cpan.org/~dongxu > _______________________________________________ > China-pm mailing list > China-pm at pm.org > http://mail.pm.org/mailman/listinfo/china-pm > -- --------------------------- Achilles Xu http://www.lostcode.org -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.pm.org/pipermail/china-pm/attachments/20070419/f5b2cb6b/attachment-0001.html From formalin14 at gmail.com Wed Apr 18 19:56:09 2007 From: formalin14 at gmail.com (Achilles Xu) Date: Thu, 19 Apr 2007 10:56:09 +0800 Subject: [PerlChina] POD2-CN trunk move In-Reply-To: <4a6c0ba80704181954h8987dccw9b48a009205e4b9b@mail.gmail.com> References: <462603B0.2030509@gmail.com> <4a6c0ba80704181906h6d33735ag2f93e56654541781@mail.gmail.com> <4626D03B.4080007@gmail.com> <4a6c0ba80704181915x7336cbdcia9cb3f8149837fdf@mail.gmail.com> <4626D241.1070106@gmail.com> <9bc0d5d20704181947i64ffee34g202580714f82e0d3@mail.gmail.com> <4a6c0ba80704181954h8987dccw9b48a009205e4b9b@mail.gmail.com> Message-ID: <4a6c0ba80704181956w40f863cfp341dfd9de780730b@mail.gmail.com> add =encode utf8 to start or tail? 2007/4/19, Achilles Xu : > > prefer utf8 too. > ok, just have added and committed chinese perlintro.pod. > > how to avoid override each other? > > 2007/4/19, Dongxu Ma : > > > > what is the prefered encoding? > > I saw both GB2312 and UTF8 have been used. > > Personally I would rather like UTF8. > > > > 2007/4/19, Fayland Lam : > > > > > > Achilles Xu wrote: > > > > ok, I would join, how? > > > > > > > > > > > > -- > > cheers, > > -dongxu > > __END__ > > http://search.cpan.org/~dongxu > > _______________________________________________ > > China-pm mailing list > > China-pm at pm.org > > http://mail.pm.org/mailman/listinfo/china-pm > > > > > > -- > --------------------------- > Achilles Xu > http://www.lostcode.org > -- --------------------------- Achilles Xu http://www.lostcode.org -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.pm.org/pipermail/china-pm/attachments/20070419/5027607d/attachment.html From dongxu.ma at gmail.com Wed Apr 18 19:57:38 2007 From: dongxu.ma at gmail.com (Dongxu Ma) Date: Thu, 19 Apr 2007 10:57:38 +0800 Subject: [PerlChina] POD2-CN trunk move In-Reply-To: <4a6c0ba80704181954h8987dccw9b48a009205e4b9b@mail.gmail.com> References: <462603B0.2030509@gmail.com> <4a6c0ba80704181906h6d33735ag2f93e56654541781@mail.gmail.com> <4626D03B.4080007@gmail.com> <4a6c0ba80704181915x7336cbdcia9cb3f8149837fdf@mail.gmail.com> <4626D241.1070106@gmail.com> <9bc0d5d20704181947i64ffee34g202580714f82e0d3@mail.gmail.com> <4a6c0ba80704181954h8987dccw9b48a009205e4b9b@mail.gmail.com> Message-ID: <9bc0d5d20704181957w5aac76acweb434e61956dffbe@mail.gmail.com> 2007/4/19, Achilles Xu : > > prefer utf8 too. > ok, just have added and committed chinese perlintro.pod. > > how to avoid override each other? I'd like to put something like 'owner' to hold your name. 2007/4/19, Dongxu Ma : > > > > what is the prefered encoding? > > I saw both GB2312 and UTF8 have been used. > > Personally I would rather like UTF8. > > > > 2007/4/19, Fayland Lam : > > > > > > Achilles Xu wrote: > > > > ok, I would join, how? > > > > > > > > > > > > -- > > cheers, > > -dongxu > > __END__ > > http://search.cpan.org/~dongxu > > _______________________________________________ > > China-pm mailing list > > China-pm at pm.org > > http://mail.pm.org/mailman/listinfo/china-pm > > > > > > -- > --------------------------- > Achilles Xu > http://www.lostcode.org > > _______________________________________________ > China-pm mailing list > China-pm at pm.org > http://mail.pm.org/mailman/listinfo/china-pm > -- cheers, -dongxu __END__ http://search.cpan.org/~dongxu -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.pm.org/pipermail/china-pm/attachments/20070419/01dfb60c/attachment.html From fayland at gmail.com Wed Apr 18 20:01:05 2007 From: fayland at gmail.com (Fayland Lam) Date: Thu, 19 Apr 2007 03:01:05 +0000 Subject: [PerlChina] POD2-CN trunk move In-Reply-To: <4a6c0ba80704181956w40f863cfp341dfd9de780730b@mail.gmail.com> References: <462603B0.2030509@gmail.com> <4a6c0ba80704181906h6d33735ag2f93e56654541781@mail.gmail.com> <4626D03B.4080007@gmail.com> <4a6c0ba80704181915x7336cbdcia9cb3f8149837fdf@mail.gmail.com> <4626D241.1070106@gmail.com> <9bc0d5d20704181947i64ffee34g202580714f82e0d3@mail.gmail.com> <4a6c0ba80704181954h8987dccw9b48a009205e4b9b@mail.gmail.com> <4a6c0ba80704181956w40f863cfp341dfd9de780730b@mail.gmail.com> Message-ID: <4626DB71.7080401@gmail.com> Achilles Xu wrote: > add =encode utf8 to start or tail? > from the beginning. > 2007/4/19, Achilles Xu >: > > prefer utf8 too. > ok, just have added and committed chinese perlintro.pod. > > how to avoid override each other? > > 2007/4/19, Dongxu Ma < dongxu.ma at gmail.com > >: > > what is the prefered encoding? > I saw both GB2312 and UTF8 have been used. > Personally I would rather like UTF8. > > 2007/4/19, Fayland Lam >: > > Achilles Xu wrote: > > ok, I would join, how? > > > > > -- > cheers, > -dongxu > __END__ > http://search.cpan.org/~dongxu > _______________________________________________ > China-pm mailing list > China-pm at pm.org > http://mail.pm.org/mailman/listinfo/china-pm > > > > > -- > > --------------------------- > Achilles Xu > http://www.lostcode.org > > > > > -- > --------------------------- > Achilles Xu > http://www.lostcode.org > ------------------------------------------------------------------------ > > _______________________________________________ > China-pm mailing list > China-pm at pm.org > http://mail.pm.org/mailman/listinfo/china-pm -- Fayland Lam // http://www.fayland.org/ From formalin14 at gmail.com Wed Apr 18 20:18:25 2007 From: formalin14 at gmail.com (Achilles Xu) Date: Thu, 19 Apr 2007 11:18:25 +0800 Subject: [PerlChina] POD2-CN trunk move In-Reply-To: <4626DB71.7080401@gmail.com> References: <462603B0.2030509@gmail.com> <4a6c0ba80704181906h6d33735ag2f93e56654541781@mail.gmail.com> <4626D03B.4080007@gmail.com> <4a6c0ba80704181915x7336cbdcia9cb3f8149837fdf@mail.gmail.com> <4626D241.1070106@gmail.com> <9bc0d5d20704181947i64ffee34g202580714f82e0d3@mail.gmail.com> <4a6c0ba80704181954h8987dccw9b48a009205e4b9b@mail.gmail.com> <4a6c0ba80704181956w40f863cfp341dfd9de780730b@mail.gmail.com> <4626DB71.7080401@gmail.com> Message-ID: <4a6c0ba80704182018t5053036dt8be0ca24bf401da0@mail.gmail.com> POD ERRORS Hey! The above document had some coding errors, which are explained below: Around line 1: Unknown directive: =encode 2007/4/19, Fayland Lam : > > Achilles Xu wrote: > > add =encode utf8 to start or tail? > > > > from the beginning. > > > > 2007/4/19, Achilles Xu > >: > > > > prefer utf8 too. > > ok, just have added and committed chinese perlintro.pod. > > > > how to avoid override each other? > > > > 2007/4/19, Dongxu Ma < dongxu.ma at gmail.com > > >: > > > > what is the prefered encoding? > > I saw both GB2312 and UTF8 have been used. > > Personally I would rather like UTF8. > > > > 2007/4/19, Fayland Lam > >: > > > > Achilles Xu wrote: > > > ok, I would join, how? > > > > > > > > > -- > > cheers, > > -dongxu > > __END__ > > http://search.cpan.org/~dongxu > > > _______________________________________________ > > China-pm mailing list > > China-pm at pm.org > > http://mail.pm.org/mailman/listinfo/china-pm > > > > > > > > > > -- > > > > --------------------------- > > Achilles Xu > > http://www.lostcode.org > > > > > > > > > > -- > > --------------------------- > > Achilles Xu > > http://www.lostcode.org > > ------------------------------------------------------------------------ > > > > _______________________________________________ > > China-pm mailing list > > China-pm at pm.org > > http://mail.pm.org/mailman/listinfo/china-pm > > > -- > Fayland Lam // http://www.fayland.org/ > > _______________________________________________ > China-pm mailing list > China-pm at pm.org > http://mail.pm.org/mailman/listinfo/china-pm -- --------------------------- Achilles Xu http://www.lostcode.org -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.pm.org/pipermail/china-pm/attachments/20070419/87d59951/attachment.html From fayland at gmail.com Wed Apr 18 20:22:13 2007 From: fayland at gmail.com (Fayland Lam) Date: Thu, 19 Apr 2007 03:22:13 +0000 Subject: [PerlChina] POD2-CN trunk move In-Reply-To: <4a6c0ba80704182018t5053036dt8be0ca24bf401da0@mail.gmail.com> References: <462603B0.2030509@gmail.com> <4a6c0ba80704181906h6d33735ag2f93e56654541781@mail.gmail.com> <4626D03B.4080007@gmail.com> <4a6c0ba80704181915x7336cbdcia9cb3f8149837fdf@mail.gmail.com> <4626D241.1070106@gmail.com> <9bc0d5d20704181947i64ffee34g202580714f82e0d3@mail.gmail.com> <4a6c0ba80704181954h8987dccw9b48a009205e4b9b@mail.gmail.com> <4a6c0ba80704181956w40f863cfp341dfd9de780730b@mail.gmail.com> <4626DB71.7080401@gmail.com> <4a6c0ba80704182018t5053036dt8be0ca24bf401da0@mail.gmail.com> Message-ID: <4626E065.5010501@gmail.com> Achilles Xu wrote: > POD ERRORS > Hey! The above document had some coding errors, which are > explained below: > > Around line 1: > Unknown directive: =encode > try to install Pod::Xhtml and use pod2xhtml. that might be help. mm, that's a bit outdated for the old POD::Html -- Fayland Lam // http://www.fayland.org/ From formalin14 at gmail.com Wed Apr 18 20:24:56 2007 From: formalin14 at gmail.com (Achilles Xu) Date: Thu, 19 Apr 2007 11:24:56 +0800 Subject: [PerlChina] POD2-CN trunk move In-Reply-To: <4626E065.5010501@gmail.com> References: <462603B0.2030509@gmail.com> <4626D03B.4080007@gmail.com> <4a6c0ba80704181915x7336cbdcia9cb3f8149837fdf@mail.gmail.com> <4626D241.1070106@gmail.com> <9bc0d5d20704181947i64ffee34g202580714f82e0d3@mail.gmail.com> <4a6c0ba80704181954h8987dccw9b48a009205e4b9b@mail.gmail.com> <4a6c0ba80704181956w40f863cfp341dfd9de780730b@mail.gmail.com> <4626DB71.7080401@gmail.com> <4a6c0ba80704182018t5053036dt8be0ca24bf401da0@mail.gmail.com> <4626E065.5010501@gmail.com> Message-ID: <4a6c0ba80704182024u6ec69bf4p9349c1c0cdff2640@mail.gmail.com> I used perldoc. many people would like to use perldoc. 2007/4/19, Fayland Lam : > > Achilles Xu wrote: > > POD ERRORS > > Hey! The above document had some coding errors, which are > > explained below: > > > > Around line 1: > > Unknown directive: =encode > > > > try to install Pod::Xhtml and use pod2xhtml. that might be help. mm, > that's a bit outdated for the old POD::Html > > -- > Fayland Lam // http://www.fayland.org/ > > _______________________________________________ > China-pm mailing list > China-pm at pm.org > http://mail.pm.org/mailman/listinfo/china-pm -- --------------------------- Achilles Xu http://www.lostcode.org -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.pm.org/pipermail/china-pm/attachments/20070419/07c60c3f/attachment-0001.html From dongxu.ma at gmail.com Wed Apr 18 20:26:50 2007 From: dongxu.ma at gmail.com (Dongxu Ma) Date: Thu, 19 Apr 2007 11:26:50 +0800 Subject: [PerlChina] POD2-CN trunk move In-Reply-To: <4a6c0ba80704182024u6ec69bf4p9349c1c0cdff2640@mail.gmail.com> References: <462603B0.2030509@gmail.com> <4a6c0ba80704181915x7336cbdcia9cb3f8149837fdf@mail.gmail.com> <4626D241.1070106@gmail.com> <9bc0d5d20704181947i64ffee34g202580714f82e0d3@mail.gmail.com> <4a6c0ba80704181954h8987dccw9b48a009205e4b9b@mail.gmail.com> <4a6c0ba80704181956w40f863cfp341dfd9de780730b@mail.gmail.com> <4626DB71.7080401@gmail.com> <4a6c0ba80704182018t5053036dt8be0ca24bf401da0@mail.gmail.com> <4626E065.5010501@gmail.com> <4a6c0ba80704182024u6ec69bf4p9349c1c0cdff2640@mail.gmail.com> Message-ID: <9bc0d5d20704182026t5417e28albc8cb8ee3b13d29d@mail.gmail.com> 2007/4/19, Achilles Xu : > > I used perldoc. > > many people would like to use perldoc. yes, the reason why I propose utf8 2007/4/19, Fayland Lam : > > > > Achilles Xu wrote: > > > POD ERRORS > > > Hey! The above document had some coding errors, which are > > > explained below: > > > > > > Around line 1: > > > Unknown directive: =encode > > > > > > > try to install Pod::Xhtml and use pod2xhtml. that might be help. mm, > > that's a bit outdated for the old POD::Html > > > > -- > > Fayland Lam // http://www.fayland.org/ > > > > _______________________________________________ > > China-pm mailing list > > China-pm at pm.org > > http://mail.pm.org/mailman/listinfo/china-pm > > > > > -- > --------------------------- > Achilles Xu > http://www.lostcode.org > > _______________________________________________ > China-pm mailing list > China-pm at pm.org > http://mail.pm.org/mailman/listinfo/china-pm > -- cheers, -dongxu __END__ http://search.cpan.org/~dongxu -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.pm.org/pipermail/china-pm/attachments/20070419/7607079e/attachment.html From fayland at gmail.com Wed Apr 18 21:24:50 2007 From: fayland at gmail.com (Fayland Lam) Date: Thu, 19 Apr 2007 04:24:50 +0000 Subject: [PerlChina] POD2-CN trunk move In-Reply-To: <9bc0d5d20704182026t5417e28albc8cb8ee3b13d29d@mail.gmail.com> References: <462603B0.2030509@gmail.com> <4a6c0ba80704181915x7336cbdcia9cb3f8149837fdf@mail.gmail.com> <4626D241.1070106@gmail.com> <9bc0d5d20704181947i64ffee34g202580714f82e0d3@mail.gmail.com> <4a6c0ba80704181954h8987dccw9b48a009205e4b9b@mail.gmail.com> <4a6c0ba80704181956w40f863cfp341dfd9de780730b@mail.gmail.com> <4626DB71.7080401@gmail.com> <4a6c0ba80704182018t5053036dt8be0ca24bf401da0@mail.gmail.com> <4626E065.5010501@gmail.com> <4a6c0ba80704182024u6ec69bf4p9349c1c0cdff2640@mail.gmail.com> <9bc0d5d20704182026t5417e28albc8cb8ee3b13d29d@mail.gmail.com> Message-ID: <4626EF12.1030104@gmail.com> Dongxu Ma wrote: > > > 2007/4/19, Achilles Xu >: > > I used perldoc. > > many people would like to use perldoc. > > > yes, the reason why I propose utf8 well, I would like to setup a subdir of perlchina.org/perldoc later? if perlchina is not available, I would setup at china.pm.org or my own site. html is the best. :) > > 2007/4/19, Fayland Lam >: > > Achilles Xu wrote: > > POD ERRORS > > Hey! The above document had some coding errors, which are > > explained below: > > > > Around line 1: > > Unknown directive: =encode > > > > try to install Pod::Xhtml and use pod2xhtml. that might be > help. mm, > that's a bit outdated for the old POD::Html > > -- > Fayland Lam // http://www.fayland.org/ > > _______________________________________________ > China-pm mailing list > China-pm at pm.org > http://mail.pm.org/mailman/listinfo/china-pm > > > > > > -- > > --------------------------- > Achilles Xu > http://www.lostcode.org > > _______________________________________________ > China-pm mailing list > China-pm at pm.org > http://mail.pm.org/mailman/listinfo/china-pm > > > > > -- > cheers, > -dongxu > __END__ > http://search.cpan.org/~dongxu > ------------------------------------------------------------------------ > > _______________________________________________ > China-pm mailing list > China-pm at pm.org > http://mail.pm.org/mailman/listinfo/china-pm -- Fayland Lam // http://www.fayland.org/ From pangj at earthlink.net Thu Apr 19 01:30:19 2007 From: pangj at earthlink.net (Jeff Pang) Date: Thu, 19 Apr 2007 16:30:19 +0800 Subject: [PerlChina] Fwd: How about the mp2 book's process? In-Reply-To: <4620E86D.1020606@stason.org> References: <26250931.1176561530861.JavaMail.root@elwamui-hound.atl.sa.earthlink.net> <4620E86D.1020606@stason.org> Message-ID: <913717600704190130x9f9b565hba56352d7c7eadf@mail.gmail.com> Some info about Stas Bekman's modperl2 book. ---------- Forwarded message ---------- From: Stas Bekman Date: 2007-4-14 下午10:42 Subject: Re: How about the mp2 book's process? To: Jeff Pang , Allison Randal , Jim Brandt Hey Jeff, > How about the process for releasing the mp2 book? > I don't know whether it's suitable or not that you could show me the > content of the coding guide part on that book then I can translate it > to Chinese.:) The contents of the book are here: http://svn.lohutok.net/mod_perl2/trunk/ But it's not ready yet to be translated. It's still under a review. I think the plan is release it by July. -- _____________________________________________________________ Stas Bekman mailto:stas at stason.org http://stason.org/ http://www.linkedin.com/in/stasbekman http://stasosphere.com/ The "Practical mod_perl" book http://modperlbook.org/ http://stason.org/photos/gallery/ http://healingcloud.com -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.pm.org/pipermail/china-pm/attachments/20070419/4cecc966/attachment.html From fayland at gmail.com Thu Apr 19 01:36:14 2007 From: fayland at gmail.com (Fayland Lam) Date: Thu, 19 Apr 2007 08:36:14 +0000 Subject: [PerlChina] Fwd: How about the mp2 book's process? In-Reply-To: <913717600704190130x9f9b565hba56352d7c7eadf@mail.gmail.com> References: <26250931.1176561530861.JavaMail.root@elwamui-hound.atl.sa.earthlink.net> <4620E86D.1020606@stason.org> <913717600704190130x9f9b565hba56352d7c7eadf@mail.gmail.com> Message-ID: <462729FE.6060400@gmail.com> Jeff Pang wrote: > Some info about Stas Bekman's modperl2 book. > Thanks. well, is that OK to public this URL? u have the permission right? > ---------- Forwarded message ---------- > From: *Stas Bekman* > > Date: 2007-4-14 下午10:42 > Subject: Re: How about the mp2 book's process? > To: Jeff Pang >, > Allison Randal < allison at perl.org >, Jim > Brandt > > > Hey Jeff, > > > How about the process for releasing the mp2 book? > > > I don't know whether it's suitable or not that you could show me the > > content of the coding guide part on that book then I can translate it > > to Chinese.:) > > The contents of the book are here: > http://svn.lohutok.net/mod_perl2/trunk/ > > > But it's not ready yet to be translated. It's still under a review. I > think the plan is release it by July. > > > -- > _____________________________________________________________ > Stas Bekman mailto: stas at stason.org > http://stason.org/ > http://www.linkedin.com/in/stasbekman http://stasosphere.com/ > The "Practical mod_perl" book http://modperlbook.org/ > http://stason.org/photos/gallery/ > http://healingcloud.com > ------------------------------------------------------------------------ > > _______________________________________________ > China-pm mailing list > China-pm at pm.org > http://mail.pm.org/mailman/listinfo/china-pm -- Fayland Lam // http://www.fayland.org/ From pangj at earthlink.net Thu Apr 19 01:41:09 2007 From: pangj at earthlink.net (Jeff Pang) Date: Thu, 19 Apr 2007 16:41:09 +0800 Subject: [PerlChina] Fwd: How about the mp2 book's process? In-Reply-To: <462729FE.6060400@gmail.com> References: <26250931.1176561530861.JavaMail.root@elwamui-hound.atl.sa.earthlink.net> <4620E86D.1020606@stason.org> <913717600704190130x9f9b565hba56352d7c7eadf@mail.gmail.com> <462729FE.6060400@gmail.com> Message-ID: <913717600704190141x3fd6517bt37238f8473c15b93@mail.gmail.com> Yes you can do it.This url is only for preview currently.:) 2007/4/19, Fayland Lam : > > Jeff Pang wrote: > > Some info about Stas Bekman's modperl2 book. > > > > Thanks. > well, is that OK to public this URL? u have the permission right? > > > > ---------- Forwarded message ---------- > > From: *Stas Bekman* > > > Date: 2007-4-14 下午10:42 > > Subject: Re: How about the mp2 book's process? > > To: Jeff Pang >, > > Allison Randal < allison at perl.org >, Jim > > Brandt > > > > > Hey Jeff, > > > > > How about the process for releasing the mp2 book? > > > > > I don't know whether it's suitable or not that you could show me the > > > content of the coding guide part on that book then I can translate it > > > to Chinese.:) > > > > The contents of the book are here: > > http://svn.lohutok.net/mod_perl2/trunk/ > > > > > > But it's not ready yet to be translated. It's still under a review. I > > think the plan is release it by July. > > > > > > -- > > _____________________________________________________________ > > Stas Bekman mailto: stas at stason.org > > http://stason.org/ > > http://www.linkedin.com/in/stasbekman http://stasosphere.com/ > > The "Practical mod_perl" book http://modperlbook.org/ > > http://stason.org/photos/gallery/ > > http://healingcloud.com > > ------------------------------------------------------------------------ > > > > _______________________________________________ > > China-pm mailing list > > China-pm at pm.org > > http://mail.pm.org/mailman/listinfo/china-pm > > > -- > Fayland Lam // http://www.fayland.org/ > > _______________________________________________ > China-pm mailing list > China-pm at pm.org > http://mail.pm.org/mailman/listinfo/china-pm -- mailto: pangj at earthlink.net http://home.arcor.de/jeffpang/ -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.pm.org/pipermail/china-pm/attachments/20070419/3b697bd8/attachment-0001.html From junli.linux at gmail.com Mon Apr 23 01:34:24 2007 From: junli.linux at gmail.com (junli) Date: Mon, 23 Apr 2007 16:34:24 +0800 Subject: [PerlChina] =?x-gbk?Q?=5C=26=D5=E2=B8=F6=CA=C7=CA=B2=C3=B4=D2=E2=CB=BC=A3=BF?= Message-ID: <462C6F90.4060607@gmail.com> ���$val1=\&val2; ��ɶ�� From pangj at earthlink.net Mon Apr 23 01:38:05 2007 From: pangj at earthlink.net (Jeff Pang) Date: Mon, 23 Apr 2007 16:38:05 +0800 Subject: [PerlChina] =?gb2312?b?XCbV4rj2ysfKssO00uLLvKO/?= In-Reply-To: <462C6F90.4060607@gmail.com> References: <462C6F90.4060607@gmail.com> Message-ID: <913717600704230138t381f88a0r7b491d93d07dcc3f@mail.gmail.com> A reference to subroutine &val2; 在 07-4-23,junli 写道: > 比如: > $val1=\&val2; > 表示啥? > > > _______________________________________________ > China-pm mailing list > China-pm at pm.org > http://mail.pm.org/mailman/listinfo/china-pm > -- Chinese Practical Mod_perl book online http://home.arcor.de/jeffpang/mod_perl/ From a.r.ferreira at gmail.com Mon Apr 23 02:49:15 2007 From: a.r.ferreira at gmail.com (Adriano Ferreira) Date: Mon, 23 Apr 2007 06:49:15 -0300 Subject: [PerlChina] =?gb2312?b?XCbV4rj2ysfKssO00uLLvKO/?= In-Reply-To: <462C6F90.4060607@gmail.com> References: <462C6F90.4060607@gmail.com> Message-ID: <73ddeb6c0704230249m797427b9lb94cb274f4e898d0@mail.gmail.com> On 4/23/07, junli wrote: > 比如: > $val1=\&val2; Just like Jeff said, this statement assigns to the scalar variable $val1 a reference to subroutine &val2. It means (1) there should be a subroutine named &val2 and (2) (if there is) you may invoke it via the construction $val1->(@args) after the assignment. > 表示啥? > > > _______________________________________________ > China-pm mailing list > China-pm at pm.org > http://mail.pm.org/mailman/listinfo/china-pm > From havel.zhang at gmail.com Mon Apr 23 06:26:33 2007 From: havel.zhang at gmail.com (Havel Zhang) Date: Mon, 23 Apr 2007 21:26:33 +0800 Subject: [PerlChina] =?gb2312?b?XCbV4rj2ysfKssO00uLLvKO/?= In-Reply-To: <462C6F90.4060607@gmail.com> References: <462C6F90.4060607@gmail.com> Message-ID: hi junli: 这表示&val2是子程序,并且$val1得到&val2这个子程序的地址。 Havel On 4/23/07, junli wrote: > 比如: > $val1=\&val2; > 表示啥? > > > _______________________________________________ > China-pm mailing list > China-pm at pm.org > http://mail.pm.org/mailman/listinfo/china-pm > -- 真理使你自由