From fayland at gmail.com Sat Nov 1 00:41:12 2008 From: fayland at gmail.com (Fayland Lam) Date: Sat, 01 Nov 2008 15:41:12 +0800 Subject: [PerlChina] PerlChina Planet feed In-Reply-To: <74646cb40810312329j56138b4dx8ca07268bedd8d91@mail.gmail.com> References: <490BEA75.8030000@gmail.com> <74646cb40810312329j56138b4dx8ca07268bedd8d91@mail.gmail.com> Message-ID: <490C0818.7010805@gmail.com> it seems like never changed since Oct 7. hmm anything wrong? Thanks ?? wrote: > I can saw that. > > ghw at ghw:~$ ping planet.perlchina.org > PING planet.perlchina.org (209.245.125.5 > ) 56(84) bytes of data. > 64 bytes from 209-245-125-5.bigmoat.com > (209.245.125.5 > ): icmp_seq=1 ttl=49 time=343 ms > 64 bytes from 209-245-125-5.bigmoat.com > (209.245.125.5 > ): icmp_seq=2 ttl=49 time=355 ms > 64 bytes from 209-245-125-5.bigmoat.com > (209.245.125.5 > ): icmp_seq=3 ttl=49 time=332 ms > > > could you check again? > > > > 2008/11/1 Fayland Lam > > > hmm, since I don't see planet.perlchina.org > is up online, so I just created a > feedburner feeds for now. > http://feeds.feedburner.com/CNPerlPlanet > please subscribe it. and tell me if there is any more Perl blog in > China. > > Thanks. > > -- > Fayland Lam // http://www.fayland.org/ Foorum based on Catalyst // > http://www.foorumbbs.com/ > _______________________________________________ > 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 -- Fayland Lam // http://www.fayland.org/ Foorum based on Catalyst // http://www.foorumbbs.com/ From jeffpeng at gmx.net Sat Nov 1 01:27:58 2008 From: jeffpeng at gmx.net (Jeff Peng) Date: Sat, 01 Nov 2008 16:27:58 +0800 Subject: [PerlChina] PerlChina Planet feed In-Reply-To: <490BEA75.8030000@gmail.com> References: <490BEA75.8030000@gmail.com> Message-ID: <490C130E.6020901@gmx.net> Fayland Lam 写道: > hmm, since I don't see planet.perlchina.org is up online, so I just > created a feedburner feeds for now. > http://feeds.feedburner.com/CNPerlPlanet couldn't access it. ? From fayland at gmail.com Sat Nov 1 01:37:38 2008 From: fayland at gmail.com (Fayland Lam) Date: Sat, 01 Nov 2008 16:37:38 +0800 Subject: [PerlChina] PerlChina Planet feed In-Reply-To: <490C130E.6020901@gmx.net> References: <490BEA75.8030000@gmail.com> <490C130E.6020901@gmx.net> Message-ID: <490C1552.4060505@gmail.com> Jeff Peng wrote: > Fayland Lam 写道: >> hmm, since I don't see planet.perlchina.org is up online, so I just >> created a feedburner feeds for now. >> http://feeds.feedburner.com/CNPerlPlanet > > couldn't access it. ? please subscribe http://planet.perlchina.org/atom.xml but the cron seems stopped. need huangye to fix that. BTW, feedburner is blocked from China. > _______________________________________________ > China-pm mailing list > China-pm at pm.org > http://mail.pm.org/mailman/listinfo/china-pm -- Fayland Lam // http://www.fayland.org/ Foorum based on Catalyst // http://www.foorumbbs.com/ From harryzs1981 at yahoo.com.cn Sat Nov 1 13:54:28 2008 From: harryzs1981 at yahoo.com.cn (sheng zhao) Date: Sun, 2 Nov 2008 04:54:28 +0800 (CST) Subject: [PerlChina] =?gb2312?b?u9i4tKO6IFJlOiAguPjE48PH0ru49sPit9G08rXn?= =?gb2312?b?u7C1xLarzve/tL+0?= In-Reply-To: <74646cb40810312327u39113e7es84403c2ca8dec200@mail.gmail.com> Message-ID: <45241.79036.qm@web15905.mail.cnb.yahoo.com> 这个网页都没有做完,就要公布给大家。哈哈,搞笑哦。专业点好不好哦!!! 黄叶 写道: 对。我也是不知道该怎么配置。 2008/11/1 Jack Miao sip proxy设什么地址? 2008/10/31 张晓亮 这个东西如何配置呢? 还请发个教程咯. ----- Original Message ----- From: "x2x4" To: Sent: Friday, October 31, 2008 10:35 AM Subject: Re: [PerlChina]给你们一个免费打电话的东西看看 > x-lite 貌似有Linux版本 > > asterisk的确是值得研究的 > > 看看能不能拨入管理服务器 > > 按1重启,按2关机,按3把自己踢出去 哈哈哈 > > > 2008/10/30 hoowa sun : >> ekiga 支持sip 但是不太完整。 >> >> 你找找别的软件吧。 >> >> 2008/10/30 黄叶 >>> >>> 呃。SIP终端,这个术语太专业了。我不知道是什么。 >>> >>> >>> >>> _______________________________________________ >>> 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 _______________________________________________ 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 --------------------------------- 雅虎邮箱,您的终生邮箱! -------------- next part -------------- An HTML attachment was scrubbed... URL: From x2x4com at gmail.com Sat Nov 1 18:32:29 2008 From: x2x4com at gmail.com (x2x4) Date: Sun, 2 Nov 2008 09:32:29 +0800 Subject: [PerlChina] =?gb2312?b?u9i4tKO6IFJlOiC4+MTjw8fSu7j2w+K30bTytec=?= =?gb2312?b?u7C1xLarzve/tL+0?= In-Reply-To: <45241.79036.qm@web15905.mail.cnb.yahoo.com> References: <74646cb40810312327u39113e7es84403c2ca8dec200@mail.gmail.com> <45241.79036.qm@web15905.mail.cnb.yahoo.com> Message-ID: <8f4d2afc0811011832u19aad87y944e8bbc7e6f8ce6@mail.gmail.com> 这位朋友,你指的是什么网页? Hoowa的项目? 如果是,Hoowa不过给我们大家测试而已,项目本身就处于测试阶段,肯定有所不完善的地方 没有什么搞笑和不搞笑,专业和不专业。如果你非要强调专业,那请你拿出一点专业的东西来给大家分享一下。如果没有,那请你不要把自己的无知建立在愚钝上。 2008/11/2 sheng zhao : > 这个网页都没有做完,就要公布给大家。哈哈,搞笑哦。专业点好不好哦!!! > > 黄叶 写道: > > 对。我也是不知道该怎么配置。 > > > 2008/11/1 Jack Miao >> >> sip proxy设什么地址? >> >> 2008/10/31 张晓亮 >>> >>> 这个东西如何配置呢? >>> >>> >>> 还请发个教程咯. >>> >>> >>> >>> >>> ----- Original Message ----- >>> From: "x2x4" >>> To: >>> Sent: Friday, October 31, 2008 10:35 AM >>> Subject: Re: [PerlChina]给你们一个免费打电话的东西看看 >>> >>> >>> > x-lite 貌似有Linux版本 >>> > >>> > asterisk的确是值得研究的 >>> > >>> > 看看能不能拨入管理服务器 >>> > >>> > 按1重启,按2关机,按3把自己踢出去 哈哈哈 >>> > >>> > >>> > 2008/10/30 hoowa sun : >>> >> ekiga 支持sip 但是不太完整。 >>> >> >>> >> 你找找别的软件吧。 >>> >> >>> >> 2008/10/30 黄叶 >>> >>> >>> >>> 呃。SIP终端,这个术语太专业了。我不知道是什么。 >>> >>> >>> >>> >>> >>> >>> >>> _______________________________________________ >>> >>> 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 >>> _______________________________________________ >>> 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 > > ________________________________ > 雅虎邮箱,您的终生邮箱! > _______________________________________________ > China-pm mailing list > China-pm at pm.org > http://mail.pm.org/mailman/listinfo/china-pm > From x2x4com at gmail.com Sat Nov 1 18:34:56 2008 From: x2x4com at gmail.com (x2x4) Date: Sun, 2 Nov 2008 09:34:56 +0800 Subject: [PerlChina] =?gb2312?b?u9i4tKO6IFJlOiC4+MTjw8fSu7j2w+K30bTytec=?= =?gb2312?b?u7C1xLarzve/tL+0?= In-Reply-To: <45241.79036.qm@web15905.mail.cnb.yahoo.com> References: <74646cb40810312327u39113e7es84403c2ca8dec200@mail.gmail.com> <45241.79036.qm@web15905.mail.cnb.yahoo.com> Message-ID: <8f4d2afc0811011834i2d4af63ep2b7e15fc7223d875@mail.gmail.com> 这位朋友,你指的是什么网页? Hoowa的项目? 如果是,Hoowa不过给我们大家测试而已,项目本身就处于测试阶段,肯定有所不完善的地方 没有什么搞笑和不搞笑,专业和不专业。如果你非要强调专业,那请你拿出一点专业的东西来给大家分享一下。如果没有,那请你不要把自己的无知建立在愚钝上。 2008/11/2 sheng zhao : > 这个网页都没有做完,就要公布给大家。哈哈,搞笑哦。专业点好不好哦!!! > From jeffpeng at gmx.net Sat Nov 1 20:34:13 2008 From: jeffpeng at gmx.net (Jeff Peng) Date: Sun, 02 Nov 2008 04:34:13 +0100 Subject: [PerlChina] Perl show PPT Message-ID: <20081102033413.239670@gmx.net> 和华南理工的几位老师一直很熟,近期跟他们沟通,有计划去他们的网络学院向学生演讲下perl并展示perl的魅力。 大家有没有这方面比较好的PPT推荐?中英文皆可。 -- Ist Ihr Browser Vista-kompatibel? Jetzt die neuesten Browser-Versionen downloaden: http://www.gmx.net/de/go/browser From quzhengping at gmail.com Sat Nov 1 23:44:03 2008 From: quzhengping at gmail.com (Jumping) Date: Sun, 2 Nov 2008 14:44:03 +0800 Subject: [PerlChina] =?utf-8?b?57uZ5L2g5Lus5LiA5Liq5YWN6LS55omT55S16K+d?= =?utf-8?b?55qE5Lic6KW/55yL55yL?= In-Reply-To: <9b73a1610810292205y42825ad8gcb37600832c712cb@mail.gmail.com> References: <9b73a1610810292205y42825ad8gcb37600832c712cb@mail.gmail.com> Message-ID: 我用svphone,显示注册成功了,但拨电话时,响几下就显示空闲。总之打不了。 2008/10/30 hoowa sun : > 我们最近做了skype for asterisk的 channel > > 然后注册skype国际出口上去了。 > > 可以上去看看: > > 每个来 SKYPE 落地freeiris 测试平台注册的人,都可以免费拨打全球的电话,拨国内请拨0X拨国际请拨00X。 > > 申请地址 > http://220.201.97.135/freeiris/user.do > > 要用SIP终端注册上去。 > > 如果拨不同可能是线路繁忙。 > _______________________________________________ > China-pm mailing list > China-pm at pm.org > http://mail.pm.org/mailman/listinfo/china-pm > -- Don't tell me how many enemies we have, but where they are! (ADV:Perl -- It's like Java, only it lets you deliver on time and under budget.) From harryzs1981 at yahoo.com.cn Sun Nov 2 01:44:26 2008 From: harryzs1981 at yahoo.com.cn (sheng zhao) Date: Sun, 2 Nov 2008 17:44:26 +0800 (CST) Subject: [PerlChina] =?gb2312?b?UlJlOiC4+MTjw8fSu7j2w+K30bTytee7sLXEtqs=?= =?gb2312?b?zve/tL+0?= In-Reply-To: <8f4d2afc0811011832u19aad87y944e8bbc7e6f8ce6@mail.gmail.com> Message-ID: <643867.62354.qm@web15905.mail.cnb.yahoo.com> 我登陆之后,以下连接什么都没有!!! 在线帮助 ? 设置eyebeam软电话. 潮流话机及网关设置. 连“在线帮助”的没有产品都可以放出来让大家测试,你认为不好笑?? 对于你们的技术我不敢评价,我不是专家。 我只是站在一个消费者,是个用户的角度,说说我的看法。 还有一点建议:再好的技术,也是要为用户服务的。VIST的技术难道比xp差,为什么还有这么多人不想用vist??因为大家认为VIST不好用。 这个事情到此为止。观点不同也不用再说了。谢谢~! x2x4 写道: 这位朋友,你指的是什么网页? Hoowa的项目? 如果是,Hoowa不过给我们大家测试而已,项目本身就处于测试阶段,肯定有所不完善的地方 没有什么搞笑和不搞笑,专业和不专业。如果你非要强调专业,那请你拿出一点专业的东西来给大家分享一下。如果没有,那请你不要把自己的无知建立在愚钝上。 2008/11/2 sheng zhao : > 这个网页都没有做完,就要公布给大家。哈哈,搞笑哦。专业点好不好哦!!! > > 黄叶 写道: > > 对。我也是不知道该怎么配置。 > > > 2008/11/1 Jack Miao >> >> sip proxy设什么地址? >> >> 2008/10/31 张晓亮 >>> >>> 这个东西如何配置呢? >>> >>> >>> 还请发个教程咯. >>> >>> >>> >>> >>> ----- Original Message ----- >>> From: "x2x4" >>> To: >>> Sent: Friday, October 31, 2008 10:35 AM >>> Subject: Re: [PerlChina]给你们一个免费打电话的东西看看 >>> >>> >>> > x-lite 貌似有Linux版本 >>> > >>> > asterisk的确是值得研究的 >>> > >>> > 看看能不能拨入管理服务器 >>> > >>> > 按1重启,按2关机,按3把自己踢出去 哈哈哈 >>> > >>> > >>> > 2008/10/30 hoowa sun : >>> >> ekiga 支持sip 但是不太完整。 >>> >> >>> >> 你找找别的软件吧。 >>> >> >>> >> 2008/10/30 黄叶 >>> >>> >>> >>> 呃。SIP终端,这个术语太专业了。我不知道是什么。 >>> >>> >>> >>> >>> >>> >>> >>> _______________________________________________ >>> >>> 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 >>> _______________________________________________ >>> 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 > > ________________________________ > 雅虎邮箱,您的终生邮箱! > _______________________________________________ > 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 --------------------------------- 雅虎邮箱,您的终生邮箱! -------------- next part -------------- An HTML attachment was scrubbed... URL: From x2x4com at gmail.com Sun Nov 2 01:52:04 2008 From: x2x4com at gmail.com (x2x4) Date: Sun, 2 Nov 2008 17:52:04 +0800 Subject: [PerlChina] =?gb2312?b?UlJlOiC4+MTjw8fSu7j2w+K30bTytee7sLXEtqs=?= =?gb2312?b?zve/tL+0?= In-Reply-To: <643867.62354.qm@web15905.mail.cnb.yahoo.com> References: <8f4d2afc0811011832u19aad87y944e8bbc7e6f8ce6@mail.gmail.com> <643867.62354.qm@web15905.mail.cnb.yahoo.com> Message-ID: <8f4d2afc0811020152iefe3f3dxd145e50d63330386@mail.gmail.com> 大家都是User,如果你有什么意见你可以提出,而不是用讥讽的语气来回应。 我不认识Hoowa,也不清楚他们的技术,只不过看不惯你的语气 这件事情over,希望大家在评价别人之前先评价一下自己。 2008/11/2 sheng zhao : > 我登陆之后,以下连接什么都没有!!! > 在线帮助 ? > 设置eyebeam软电话. > 潮流话机及网关设置. > > 连"在线帮助"的没有产品都可以放出来让大家测试,你认为不好笑?? > 对于你们的技术我不敢评价,我不是专家。 > 我只是站在一个消费者,是个用户的角度,说说我的看法。 > 还有一点建议:再好的技术,也是要为用户服务的。VIST的技术难道比xp差,为什么还有这么多人不想用vist??因为大家认为VIST不好用。 > 这个事情到此为止。观点不同也不用再说了。谢谢~! From hoowa.sun at gmail.com Sun Nov 2 16:06:40 2008 From: hoowa.sun at gmail.com (hoowa sun) Date: Mon, 3 Nov 2008 08:06:40 +0800 Subject: [PerlChina] =?gb2312?b?uPjE48PH0ru49sPit9G08rXnu7C1xLarzve/tL+0?= In-Reply-To: References: <9b73a1610810292205y42825ad8gcb37600832c712cb@mail.gmail.com> Message-ID: <9b73a1610811021606h14320e20q57b747b9ca6d2ed6@mail.gmail.com> 不好意思。帐户没费用了。可能拨出的几率极其降低。 你可以再多测试几次。拨国内用0开头。 国际用00开头。 另外我还用intel atom的cpu做了一台机器地址是220.201.97.137 2008/11/2 Jumping > 我用svphone,显示注册成功了,但拨电话时,响几下就显示空闲。总之打不了。 > > 2008/10/30 hoowa sun : > > 我们最近做了skype for asterisk的 channel > > > > 然后注册skype国际出口上去了。 > > > > 可以上去看看: > > > > 每个来 SKYPE 落地freeiris 测试平台注册的人,都可以免费拨打全球的电话,拨国内请拨0X拨国际请拨00X。 > > > > 申请地址 > > http://220.201.97.135/freeiris/user.do > > > > 要用SIP终端注册上去。 > > > > 如果拨不同可能是线路繁忙。 > > _______________________________________________ > > China-pm mailing list > > China-pm at pm.org > > http://mail.pm.org/mailman/listinfo/china-pm > > > > > > -- > Don't tell me how many enemies we have, but where they are! > (ADV:Perl -- It's like Java, only it lets you deliver on time and under > budget.) > _______________________________________________ > 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: From xdrngw at gmail.com Sun Nov 2 18:42:45 2008 From: xdrngw at gmail.com (=?GB2312?B?wM/QsA==?=) Date: Mon, 3 Nov 2008 10:42:45 +0800 Subject: [PerlChina] =?gb2312?b?ILj4xOPDx9K7uPbD4rfRtPK157uwtcS2q873v7Q=?= =?gb2312?b?v7Q=?= Message-ID: 周五的时候试了试,用 3CXVoIPClient 连接上了,打电话也可以了,但是有个问题 我(电脑)能很清楚听到对方的声音,但是对方却很难听到我的声音(很不清楚),说是大部分时间听到的是他自己的"回音", 平心而论,这个东西目前应该还不是面对用户的测试,hoowa免费给大家提供这个测试平台,顶多也算是"内部"测试。 考虑到多方面因素,不可能进行大范围的测试(我猜的 :P) 看到hoowa说账号没钱了,应该不是我打完的吧 :P -------------- next part -------------- An HTML attachment was scrubbed... URL: From hoowa.sun at gmail.com Sun Nov 2 18:47:40 2008 From: hoowa.sun at gmail.com (hoowa sun) Date: Mon, 3 Nov 2008 10:47:40 +0800 Subject: [PerlChina] =?gb2312?b?uPjE48PH0ru49sPit9G08rXnu7C1xLarzve/tL+0?= In-Reply-To: References: Message-ID: <9b73a1610811021847t61265a84ncbb239bcde289305@mail.gmail.com> 不会是你打完的。主要是那几个帐号未调试好。 可能是网络带宽问题,我发现高峰时间语音质量下降明显。 2008/11/3 老邪 > > 周五的时候试了试,用 3CXVoIPClient 连接上了,打电话也可以了,但是有个问题 > 我(电脑)能很清楚听到对方的声音,但是对方却很难听到我的声音(很不清楚),说是大部分时间听到的是他自己的"回音", > > > 平心而论,这个东西目前应该还不是面对用户的测试,hoowa免费给大家提供这个测试平台,顶多也算是"内部"测试。 > 考虑到多方面因素,不可能进行大范围的测试(我猜的 :P) > > 看到hoowa说账号没钱了,应该不是我打完的吧 :P > > _______________________________________________ > 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: From x2x4com at gmail.com Sun Nov 2 18:52:06 2008 From: x2x4com at gmail.com (x2x4) Date: Mon, 3 Nov 2008 10:52:06 +0800 Subject: [PerlChina] =?gb2312?b?uPjE48PH0ru49sPit9G08rXnu7C1xLarzve/tL+0?= In-Reply-To: References: Message-ID: <8f4d2afc0811021852y18f7c2aag38121179e430c7ea@mail.gmail.com> 我觉得哦,这个社会的活跃还是要考大家贡献的,只要有人贡献,不管好还是不好,我们都应该赞许,因为他贡献了。否则下次怎么会有更多的人来贡献?(这就是所谓的成功教育吧,哈哈) 2008/11/3 老邪 : > > 周五的时候试了试,用 3CXVoIPClient 连接上了,打电话也可以了,但是有个问题 > 我(电脑)能很清楚听到对方的声音,但是对方却很难听到我的声音(很不清楚),说是大部分时间听到的是他自己的"回音", > > > 平心而论,这个东西目前应该还不是面对用户的测试,hoowa免费给大家提供这个测试平台,顶多也算是"内部"测试。 > 考虑到多方面因素,不可能进行大范围的测试(我猜的 :P) > > 看到hoowa说账号没钱了,应该不是我打完的吧 :P > _______________________________________________ > China-pm mailing list > China-pm at pm.org > http://mail.pm.org/mailman/listinfo/china-pm > From x2x4com at gmail.com Sun Nov 2 18:52:42 2008 From: x2x4com at gmail.com (x2x4) Date: Mon, 3 Nov 2008 10:52:42 +0800 Subject: [PerlChina] =?gb2312?b?uPjE48PH0ru49sPit9G08rXnu7C1xLarzve/tL+0?= In-Reply-To: <8f4d2afc0811021852y18f7c2aag38121179e430c7ea@mail.gmail.com> References: <8f4d2afc0811021852y18f7c2aag38121179e430c7ea@mail.gmail.com> Message-ID: <8f4d2afc0811021852x7dceba91se652d4e5912b9c5d@mail.gmail.com> 社区, sorry打错了 2008/11/3 x2x4 : > 我觉得哦,这个社会的活跃还是要考大家贡献的,只要有人贡献,不管好还是不好,我们都应该赞许,因为他贡献了。否则下次怎么会有更多的人来贡献?(这就是所谓的成功教育吧,哈哈) > From hylinux at gmail.com Sun Nov 2 23:10:40 2008 From: hylinux at gmail.com (=?GB2312?B?u8bStg==?=) Date: Mon, 3 Nov 2008 15:10:40 +0800 Subject: [PerlChina] PerlChina Planet feed In-Reply-To: <490C1552.4060505@gmail.com> References: <490BEA75.8030000@gmail.com> <490C130E.6020901@gmx.net> <490C1552.4060505@gmail.com> Message-ID: <74646cb40811022310p76248560w9b118315d0f38890@mail.gmail.com> cron jobs stop? let me check . 2008/11/1 Fayland Lam > Jeff Peng wrote: > >> Fayland Lam 写道: >> >>> hmm, since I don't see planet.perlchina.org is up online, so I just >>> created a feedburner feeds for now. >>> http://feeds.feedburner.com/CNPerlPlanet >>> >> >> couldn't access it. ? >> > > please subscribe http://planet.perlchina.org/atom.xml > but the cron seems stopped. need huangye to fix that. > > BTW, feedburner is blocked from China. > > > _______________________________________________ >> China-pm mailing list >> China-pm at pm.org >> http://mail.pm.org/mailman/listinfo/china-pm >> > > > -- > Fayland Lam // http://www.fayland.org/ Foorum based on Catalyst // > http://www.foorumbbs.com/ > _______________________________________________ > 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: From hylinux at gmail.com Sun Nov 2 23:14:06 2008 From: hylinux at gmail.com (=?GB2312?B?u8bStg==?=) Date: Mon, 3 Nov 2008 15:14:06 +0800 Subject: [PerlChina] =?gb2312?b?uPjE48PH0ru49sPit9G08rXnu7C1xLarzve/tL+0?= In-Reply-To: <8f4d2afc0811021852x7dceba91se652d4e5912b9c5d@mail.gmail.com> References: <8f4d2afc0811021852y18f7c2aag38121179e430c7ea@mail.gmail.com> <8f4d2afc0811021852x7dceba91se652d4e5912b9c5d@mail.gmail.com> Message-ID: <74646cb40811022314s63ea76ebp898f0d892cf2e0e8@mail.gmail.com> 那个什么老兄不要在这儿抱怨了。本来就是打算放出来内部测试而已。 以下引用 ======================================== 这个网页都没有做完,就要公布给大家。哈哈,搞笑哦。专业点好不好哦!!! -------------- next part -------------- An HTML attachment was scrubbed... URL: From learnin9 at gmail.com Mon Nov 3 03:32:58 2008 From: learnin9 at gmail.com (bob yang) Date: Mon, 3 Nov 2008 19:32:58 +0800 Subject: [PerlChina] =?gb2312?b?uPjE48PH0ru49sPit9G08rXnu7C1xLarzve/tL+0?= In-Reply-To: <9b73a1610811021606h14320e20q57b747b9ca6d2ed6@mail.gmail.com> References: <9b73a1610810292205y42825ad8gcb37600832c712cb@mail.gmail.com> <9b73a1610811021606h14320e20q57b747b9ca6d2ed6@mail.gmail.com> Message-ID: <4c0c34e10811030332v70c2d5c7h5bd9844be3894e4c@mail.gmail.com> 呵呵!,我做了VOIP有6年头了,主要是测试软交换这一块,MGCP,H323,H248,SIP协议都玩过,也搞过兼容与互联互通,不过最近这段时间没怎么搞VOIP这块了(开始搞管理了 :(),看到freeiris蓬勃发展,心里着实开心了一把,等到你们的版本稳定,我一定拿来自己搞搞运营。嘿嘿,当然了,也能帮助你们测试出很多bugs来。 顺便问句,是否能支持asterisk-1.6x的? 2008/11/3 hoowa sun > 不好意思。帐户没费用了。可能拨出的几率极其降低。 > > 你可以再多测试几次。拨国内用0开头。 国际用00开头。 > > 另外我还用intel atom的cpu做了一台机器地址是220.201.97.137 > > > > > 2008/11/2 Jumping > > 我用svphone,显示注册成功了,但拨电话时,响几下就显示空闲。总之打不了。 >> >> 2008/10/30 hoowa sun : >> > 我们最近做了skype for asterisk的 channel >> > >> > 然后注册skype国际出口上去了。 >> > >> > 可以上去看看: >> > >> > 每个来 SKYPE 落地freeiris 测试平台注册的人,都可以免费拨打全球的电话,拨国内请拨0X拨国际请拨00X。 >> > >> > 申请地址 >> > http://220.201.97.135/freeiris/user.do >> > >> > 要用SIP终端注册上去。 >> > >> > 如果拨不同可能是线路繁忙。 >> > _______________________________________________ >> > China-pm mailing list >> > China-pm at pm.org >> > http://mail.pm.org/mailman/listinfo/china-pm >> > >> >> >> >> -- >> Don't tell me how many enemies we have, but where they are! >> (ADV:Perl -- It's like Java, only it lets you deliver on time and under >> budget.) >> _______________________________________________ >> 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 > -------------- next part -------------- An HTML attachment was scrubbed... URL: From hoowa.sun at gmail.com Mon Nov 3 16:31:19 2008 From: hoowa.sun at gmail.com (hoowa sun) Date: Tue, 4 Nov 2008 08:31:19 +0800 Subject: [PerlChina] =?gb2312?b?uPjE48PH0ru49sPit9G08rXnu7C1xLarzve/tL+0?= In-Reply-To: <4c0c34e10811030332v70c2d5c7h5bd9844be3894e4c@mail.gmail.com> References: <9b73a1610810292205y42825ad8gcb37600832c712cb@mail.gmail.com> <9b73a1610811021606h14320e20q57b747b9ca6d2ed6@mail.gmail.com> <4c0c34e10811030332v70c2d5c7h5bd9844be3894e4c@mail.gmail.com> Message-ID: <9b73a1610811031631t7371e6v1bb556573101970f@mail.gmail.com> 1.6 + freeiris 有人跑成功了。 不过由于版本关系依赖复杂,所以我们要等至少一年以后才正式淘汰对1.4的支持,转向支持 1。6 2008/11/3 bob yang > 呵呵!,我做了VOIP有6年头了,主要是测试软交换这一块,MGCP,H323,H248,SIP协议都玩过,也搞过兼容与互联互通,不过最近这段时间没怎么搞VOIP这块了(开始搞管理了 > :(),看到freeiris蓬勃发展,心里着实开心了一把,等到你们的版本稳定,我一定拿来自己搞搞运营。嘿嘿,当然了,也能帮助你们测试出很多bugs来。 > 顺便问句,是否能支持asterisk-1.6x的? > > 2008/11/3 hoowa sun > >> 不好意思。帐户没费用了。可能拨出的几率极其降低。 >> >> 你可以再多测试几次。拨国内用0开头。 国际用00开头。 >> >> 另外我还用intel atom的cpu做了一台机器地址是220.201.97.137 >> >> >> >> >> 2008/11/2 Jumping >> >> 我用svphone,显示注册成功了,但拨电话时,响几下就显示空闲。总之打不了。 >>> >>> 2008/10/30 hoowa sun : >>> > 我们最近做了skype for asterisk的 channel >>> > >>> > 然后注册skype国际出口上去了。 >>> > >>> > 可以上去看看: >>> > >>> > 每个来 SKYPE 落地freeiris 测试平台注册的人,都可以免费拨打全球的电话,拨国内请拨0X拨国际请拨00X。 >>> > >>> > 申请地址 >>> > http://220.201.97.135/freeiris/user.do >>> > >>> > 要用SIP终端注册上去。 >>> > >>> > 如果拨不同可能是线路繁忙。 >>> > _______________________________________________ >>> > China-pm mailing list >>> > China-pm at pm.org >>> > http://mail.pm.org/mailman/listinfo/china-pm >>> > >>> >>> >>> >>> -- >>> Don't tell me how many enemies we have, but where they are! >>> (ADV:Perl -- It's like Java, only it lets you deliver on time and under >>> budget.) >>> _______________________________________________ >>> 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 > -------------- next part -------------- An HTML attachment was scrubbed... URL: From hylinux at gmail.com Mon Nov 3 19:06:52 2008 From: hylinux at gmail.com (=?GB2312?B?u8bStg==?=) Date: Tue, 4 Nov 2008 11:06:52 +0800 Subject: [PerlChina] =?gb2312?b?t6K49rvutvmjrNPQ0MvIpLXEyMu/ydLUytTK1KGj?= =?gb2312?b?xbzDu8qxvOTFqg==?= Message-ID: <74646cb40811031906s3f7e02dbrf182d91025d9cda0@mail.gmail.com> 一个新闻抓取系统,下面是人家写的要求。 偶比较忙,也没什么兴趣,有兴趣的人和他们联系一下: 联系人邮箱和MSN: 邮箱:richardxu7 at gmail.com MSN: richardxu7 at hotmail.com 系统配置: Linux Perl Mysql Html 目的: 一套能够自动抓取新闻内容,并产生网页的系统。 新闻来源 - google news, yahoo news, news.sina.com.cn,或者是一个可以RSS输出的新闻源 (是双语系统,但英文为主) 功能要求: Perl 语言后台运行 + Cron (每天运行, 时间频率可以调节) 新闻内容读取后,存入Mysql数据库 能够自动过滤重复的新闻,做简单的内容重复分析 Perl 语言从数据库中读取新闻,根据模板重新生成优化的 HTML 网页 模板里面包括可调用的不同的Google广告代码,或其它个性化的广告代码(java script, 或简单html 代码) 模板以后可以不断调节 模板也可能根据一个已经成型的网站设计 内容重写 =》 次序,避免被S认为重复 从新生成的HTML过程每天一次(会让搜索引擎机器人认为文档比较新鲜) Sitemap 然后自动提交(这个不用设计,已经有现成的) SEO优化 每个页面的keywords, description, title 都会根据新闻内容做简单的智能优化。 对新闻标题进行智能改变 - 减少版权纠纷。 并能够自动产生一定数量的Tag标签 整个新闻系统形成一个简单的导航内容,方便读者寻找以往内容。 并配以Google 站内搜索的内容(考虑结合模板设计,也是可以调节的) 考虑配置Addthis的推广代码 可以从后台进行新闻的简单编辑和增减 - 版权的考虑 在页面底部能够随机产生5-6条相关新闻。 在底部会形成Google分析代码,可以加在模板内。 页面的编码可以调配,中文或英文 底部有Webmaster的联系方式。 整个新闻体系可以进行RSS输出,或者可以写入一个Wordpress系统。 利用Blog来进行输出。 能够ping其它服务器,自动形成Tag? 一个可以在其它网站上面显示的调用的widget(JS),显示几条最新新闻? 新闻源和抓取数量可以调节 新闻关键词可以调节 模板使用可以调节 模板文件可以手工编辑 服务器上的路径可以调节或改变 新闻日期范围可以定制 分类可以明确 支持一个或多个关键词 可以确定新闻抓取数量上限 变量通过一个设置文档进行调解 -------------- next part -------------- An HTML attachment was scrubbed... URL: From hylinux at gmail.com Mon Nov 3 19:13:08 2008 From: hylinux at gmail.com (Mike.G) Date: Tue, 4 Nov 2008 11:13:08 +0800 Subject: [PerlChina] PerlChina Planet feed In-Reply-To: <74646cb40811022310p76248560w9b118315d0f38890@mail.gmail.com> References: <490BEA75.8030000@gmail.com> <490C130E.6020901@gmx.net> <490C1552.4060505@gmail.com> <74646cb40811022310p76248560w9b118315d0f38890@mail.gmail.com> Message-ID: <74646cb40811031913v657df626w8e6ec55b0d1b4eb3@mail.gmail.com> hi, I had checked that. and , Fayland, could you checked your install? I am not know well the planet, I think you have the ssh account and password, you can login "ssh.bigmoat.com" for debug. ghw at ghw:~/webproject/ltebbs$ ssh -l admin at perlchina.org ssh.bigmoat.com The authenticity of host 'ssh.bigmoat.com (64.156.164.18)' can't be established. RSA key fingerprint is ce:48:4e:ac:80:34:2b:db:79:19:67:0d:70:41:e7:ec. Are you sure you want to continue connecting (yes/no)? yes Warning: Permanently added 'ssh.bigmoat.com' (RSA) to the list of known hosts. admin at perlchina.org@ssh.bigmoat.com's password: Last login: Wed Oct 8 21:27:28 2008 from 123.14.67.19 -bash-3.1$ ls Maildir backup cgi-bin log phptmp planet ssl user web <1/91/1391/web2369/planet/cron/planet-2.0/perlchina/basic/config.ini DEBUG:planet.runner:Socket timeout set to 20 seconds INFO:planet.runner:Loading cached data INFO:planet:Feed unchanged INFO:planet:Feed unchanged INFO:planet:Feed unchanged INFO:planet:Feed unchanged INFO:planet:Feed unchanged INFO:planet:Feed unchanged INFO:planet:Feed unchanged ERROR:planet:Error 500 while updating feed < http://nomas.ikonz.net/?feed=rss2> INFO:planet:Updating feed < http://conference.perlchina.org/bjpw2008/atom/zh.xml> DEBUG:planet:Items in Feed: 11 INFO:planet.runner:Processing template examples/basic/index.html.tmpl Traceback (most recent call last): File "/home1/91/1391/web2369/planet/cron/planet-2.0/planet.py", line 167, in ? main() File "/home1/91/1391/web2369/planet/cron/planet-2.0/planet.py", line 163, in main planet_link, planet_feed, owner_name, owner_email) File "/www/home1/91/1391/web2369/planet/cron/planet-2.0/planet/__init__.py", line 263, in generate_all_files template = manager.prepare(os.path.basename(template_file)) File "/www/home1/91/1391/web2369/planet/cron/planet-2.0/planet/htmltmpl.py", line 222, in prepare compiled = self.compile(file) File "/www/home1/91/1391/web2369/planet/cron/planet-2.0/planet/htmltmpl.py", line 296, in compile self._debug).compile(file) File "/www/home1/91/1391/web2369/planet/cron/planet-2.0/planet/htmltmpl.py", line 987, in compile tokens = self.parse(self.read(file)) File "/www/home1/91/1391/web2369/planet/cron/planet-2.0/planet/htmltmpl.py", line 1037, in read raise TemplateError, "IO error while reading template '%s': "\ planet.htmltmpl.TemplateError: Htmltmpl error: IO error while reading template 'index.html.tmpl': (2) No such file or directory -bash-3.1$ thanks Mike.G 2008/11/3 黄叶 > cron jobs stop? > let me check . > > > > 2008/11/1 Fayland Lam > >> Jeff Peng wrote: >> >> Fayland Lam 写道: >>> >>>> hmm, since I don't see planet.perlchina.org is up online, so I just >>>> created a feedburner feeds for now. >>>> http://feeds.feedburner.com/CNPerlPlanet >>>> >>> >>> couldn't access it. ? >>> >> >> please subscribe http://planet.perlchina.org/atom.xml >> but the cron seems stopped. need huangye to fix that. >> >> BTW, feedburner is blocked from China. >> >> >> _______________________________________________ >>> China-pm mailing list >>> China-pm at pm.org >>> http://mail.pm.org/mailman/listinfo/china-pm >>> >> >> >> -- >> Fayland Lam // http://www.fayland.org/ Foorum based on Catalyst // >> http://www.foorumbbs.com/ >> _______________________________________________ >> 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: From hylinux at gmail.com Mon Nov 3 19:14:27 2008 From: hylinux at gmail.com (Mike.G) Date: Tue, 4 Nov 2008 11:14:27 +0800 Subject: [PerlChina] PerlChina Planet feed In-Reply-To: <74646cb40811031913v657df626w8e6ec55b0d1b4eb3@mail.gmail.com> References: <490BEA75.8030000@gmail.com> <490C130E.6020901@gmx.net> <490C1552.4060505@gmail.com> <74646cb40811022310p76248560w9b118315d0f38890@mail.gmail.com> <74646cb40811031913v657df626w8e6ec55b0d1b4eb3@mail.gmail.com> Message-ID: <74646cb40811031914v73364b37r2c940fa1a0bcc4c8@mail.gmail.com> and I think the cron job is ok. but planet install is not correct. is it? and fayland, could you check the install? thanks very much Mike.G 2008/11/4 Mike. G > hi, I had checked that. > and , Fayland, could you checked your install? > > I am not know well the planet, I think you have the ssh account and > password, you can login "ssh.bigmoat.com" for debug. > > ghw at ghw:~/webproject/ltebbs$ ssh -l admin at perlchina.org ssh.bigmoat.com > The authenticity of host 'ssh.bigmoat.com (64.156.164.18)' can't be > established. > RSA key fingerprint is ce:48:4e:ac:80:34:2b:db:79:19:67:0d:70:41:e7:ec. > Are you sure you want to continue connecting (yes/no)? yes > Warning: Permanently added 'ssh.bigmoat.com' (RSA) to the list of known > hosts. > admin at perlchina.org@ssh.bigmoat.com's password: > Last login: Wed Oct 8 21:27:28 2008 from 123.14.67.19 > -bash-3.1$ ls > Maildir backup cgi-bin log phptmp planet ssl user web > <1/91/1391/web2369/planet/cron/planet-2.0/perlchina/basic/config.ini > > DEBUG:planet.runner:Socket timeout set to 20 seconds > INFO:planet.runner:Loading cached data > INFO:planet:Feed > unchanged > INFO:planet:Feed unchanged > INFO:planet:Feed unchanged > INFO:planet:Feed unchanged > INFO:planet:Feed unchanged > INFO:planet:Feed unchanged > INFO:planet:Feed unchanged > ERROR:planet:Error 500 while updating feed < > http://nomas.ikonz.net/?feed=rss2> > INFO:planet:Updating feed < > http://conference.perlchina.org/bjpw2008/atom/zh.xml> > DEBUG:planet:Items in Feed: 11 > INFO:planet.runner:Processing template examples/basic/index.html.tmpl > Traceback (most recent call last): > File "/home1/91/1391/web2369/planet/cron/planet-2.0/planet.py", line 167, > in ? > main() > File "/home1/91/1391/web2369/planet/cron/planet-2.0/planet.py", line 163, > in main > planet_link, planet_feed, owner_name, owner_email) > File > "/www/home1/91/1391/web2369/planet/cron/planet-2.0/planet/__init__.py", line > 263, in generate_all_files > template = manager.prepare(os.path.basename(template_file)) > File > "/www/home1/91/1391/web2369/planet/cron/planet-2.0/planet/htmltmpl.py", line > 222, in prepare > compiled = self.compile(file) > File > "/www/home1/91/1391/web2369/planet/cron/planet-2.0/planet/htmltmpl.py", line > 296, in compile > self._debug).compile(file) > File > "/www/home1/91/1391/web2369/planet/cron/planet-2.0/planet/htmltmpl.py", line > 987, in compile > tokens = self.parse(self.read(file)) > File > "/www/home1/91/1391/web2369/planet/cron/planet-2.0/planet/htmltmpl.py", line > 1037, in read > raise TemplateError, "IO error while reading template '%s': "\ > planet.htmltmpl.TemplateError: Htmltmpl error: IO error while reading > template 'index.html.tmpl': (2) No such file or directory > -bash-3.1$ > > > > thanks > > Mike.G > > > > 2008/11/3 黄叶 > > cron jobs stop? >> let me check . >> >> >> >> 2008/11/1 Fayland Lam >> >>> Jeff Peng wrote: >>> >>> Fayland Lam 写道: >>>> >>>>> hmm, since I don't see planet.perlchina.org is up online, so I just >>>>> created a feedburner feeds for now. >>>>> http://feeds.feedburner.com/CNPerlPlanet >>>>> >>>> >>>> couldn't access it. ? >>>> >>> >>> please subscribe http://planet.perlchina.org/atom.xml >>> but the cron seems stopped. need huangye to fix that. >>> >>> BTW, feedburner is blocked from China. >>> >>> >>> _______________________________________________ >>>> China-pm mailing list >>>> China-pm at pm.org >>>> http://mail.pm.org/mailman/listinfo/china-pm >>>> >>> >>> >>> -- >>> Fayland Lam // http://www.fayland.org/ Foorum based on Catalyst // >>> http://www.foorumbbs.com/ >>> _______________________________________________ >>> 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: From fayland at gmail.com Mon Nov 3 19:35:14 2008 From: fayland at gmail.com (Fayland Lam) Date: Tue, 04 Nov 2008 11:35:14 +0800 Subject: [PerlChina] PerlChina Planet feed In-Reply-To: <74646cb40811031914v73364b37r2c940fa1a0bcc4c8@mail.gmail.com> References: <490BEA75.8030000@gmail.com> <490C130E.6020901@gmx.net> <490C1552.4060505@gmail.com> <74646cb40811022310p76248560w9b118315d0f38890@mail.gmail.com> <74646cb40811031913v657df626w8e6ec55b0d1b4eb3@mail.gmail.com> <74646cb40811031914v73364b37r2c940fa1a0bcc4c8@mail.gmail.com> Message-ID: <490FC2F2.90202@gmail.com> I'll take a look later today. thanks. Mike.G wrote: > and I think the cron job is ok. > but planet install is not correct. is it? > > and fayland, could you check the install? > > thanks very much > > > Mike.G > > > 2008/11/4 Mike. G > > > hi, I had checked that. > and , Fayland, could you checked your install? > > I am not know well the planet, I think you have the ssh account > and password, you can login "ssh.bigmoat.com > " for debug. > > ghw at ghw:~/webproject/ltebbs$ ssh -l admin at perlchina.org > ssh.bigmoat.com > The authenticity of host 'ssh.bigmoat.com > (64.156.164.18 )' can't be established. > RSA key fingerprint is > ce:48:4e:ac:80:34:2b:db:79:19:67:0d:70:41:e7:ec. > Are you sure you want to continue connecting (yes/no)? yes > Warning: Permanently added 'ssh.bigmoat.com > ' (RSA) to the list of known hosts. > admin at perlchina.org @ssh.bigmoat.com > 's password: > Last login: Wed Oct 8 21:27:28 2008 from 123.14.67.19 > > -bash-3.1$ ls > Maildir backup cgi-bin log phptmp planet ssl user web > <1/91/1391/web2369/planet/cron/planet-2.0/perlchina/basic/config.ini > DEBUG:planet.runner:Socket timeout set to 20 seconds > INFO:planet.runner:Loading cached data > INFO:planet:Feed > unchanged > INFO:planet:Feed > unchanged > INFO:planet:Feed unchanged > INFO:planet:Feed unchanged > INFO:planet:Feed > unchanged > INFO:planet:Feed unchanged > INFO:planet:Feed unchanged > ERROR:planet:Error 500 while updating feed > > INFO:planet:Updating feed > > DEBUG:planet:Items in Feed: 11 > INFO:planet.runner:Processing template examples/basic/index.html.tmpl > Traceback (most recent call last): > File "/home1/91/1391/web2369/planet/cron/planet-2.0/planet.py", > line 167, in ? > main() > File "/home1/91/1391/web2369/planet/cron/planet-2.0/planet.py", > line 163, in main > planet_link, planet_feed, owner_name, owner_email) > File > "/www/home1/91/1391/web2369/planet/cron/planet-2.0/planet/__init__.py", > line 263, in generate_all_files > template = manager.prepare(os.path.basename(template_file)) > File > "/www/home1/91/1391/web2369/planet/cron/planet-2.0/planet/htmltmpl.py", > line 222, in prepare > compiled = self.compile(file) > File > "/www/home1/91/1391/web2369/planet/cron/planet-2.0/planet/htmltmpl.py", > line 296, in compile > self._debug).compile(file) > File > "/www/home1/91/1391/web2369/planet/cron/planet-2.0/planet/htmltmpl.py", > line 987, in compile > tokens = self.parse(self.read(file)) > File > "/www/home1/91/1391/web2369/planet/cron/planet-2.0/planet/htmltmpl.py", > line 1037, in read > raise TemplateError, "IO error while reading template '%s': "\ > planet.htmltmpl.TemplateError: Htmltmpl error: IO error while > reading template 'index.html.tmpl': (2) No such file or directory > -bash-3.1$ > > > > thanks > > Mike.G > > > > 2008/11/3 黄叶 > > > cron jobs stop? > let me check . > > > > 2008/11/1 Fayland Lam > > > Jeff Peng wrote: > > Fayland Lam 写道: > > hmm, since I don't see planet.perlchina.org > is up online, so I > just created a feedburner feeds for now. > http://feeds.feedburner.com/CNPerlPlanet > > > couldn't access it. ? > > > please subscribe http://planet.perlchina.org/atom.xml > but the cron seems stopped. need huangye to fix that. > > BTW, feedburner is blocked from China. > > > > _______________________________________________ > China-pm mailing list > China-pm at pm.org > http://mail.pm.org/mailman/listinfo/china-pm > > > > -- > Fayland Lam // http://www.fayland.org/ Foorum based on > Catalyst // http://www.foorumbbs.com/ > _______________________________________________ > 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 -- Fayland Lam // http://www.fayland.org/ Foorum based on Catalyst // http://www.foorumbbs.com/ From fayland at gmail.com Mon Nov 3 20:13:31 2008 From: fayland at gmail.com (Fayland Lam) Date: Tue, 04 Nov 2008 12:13:31 +0800 Subject: [PerlChina] PerlChina Planet feed In-Reply-To: <490FC2F2.90202@gmail.com> References: <490BEA75.8030000@gmail.com> <490C130E.6020901@gmx.net> <490C1552.4060505@gmail.com> <74646cb40811022310p76248560w9b118315d0f38890@mail.gmail.com> <74646cb40811031913v657df626w8e6ec55b0d1b4eb3@mail.gmail.com> <74646cb40811031914v73364b37r2c940fa1a0bcc4c8@mail.gmail.com> <490FC2F2.90202@gmail.com> Message-ID: <490FCBEB.1010304@gmail.com> huangye, it's OK now. thanks for you host. please subscribe http://planet.perlchina.org/atom.xml and recommend me some blog! or just list yours! Thanks. -- Fayland Lam // http://www.fayland.org/ Foorum based on Catalyst // http://www.foorumbbs.com/ From wanmyome at gmail.com Tue Nov 4 08:45:02 2008 From: wanmyome at gmail.com (Wan Chaowei) Date: Wed, 5 Nov 2008 00:45:02 +0800 Subject: [PerlChina] =?utf-8?b?5Y+R5Liq5rS75YS/77yM5pyJ5YW06Laj55qE5Lq6?= =?utf-8?b?5Y+v5Lul6K+V6K+V44CC5YG25rKh5pe26Ze05byE?= In-Reply-To: <74646cb40811031906s3f7e02dbrf182d91025d9cda0@mail.gmail.com> References: <74646cb40811031906s3f7e02dbrf182d91025d9cda0@mail.gmail.com> Message-ID: <9ff89e80811040845k35603e46xcb1fec4914341b6c@mail.gmail.com> 这个系统涉及很多知识,其中涉及NLP部分在下倒是很有兴趣。 不过可惜,怎么不干正事呢 2008/11/4 黄叶 > 一个新闻抓取系统,下面是人家写的要求。 > 偶比较忙,也没什么兴趣,有兴趣的人和他们联系一下: > 联系人邮箱和MSN: > 邮箱:richardxu7 at gmail.com > MSN: richardxu7 at hotmail.com > > > 系统配置: > > Linux > Perl > Mysql > Html > > 目的: > > 一套能够自动抓取新闻内容,并产生网页的系统。 > 新闻来源 - google news, yahoo news, news.sina.com.cn,或者是一个可以RSS输出的新闻源 > (是双语系统,但英文为主) > > 功能要求: > > Perl 语言后台运行 + Cron (每天运行, 时间频率可以调节) > 新闻内容读取后,存入Mysql数据库 > 能够自动过滤重复的新闻,做简单的内容重复分析 > Perl 语言从数据库中读取新闻,根据模板重新生成优化的 HTML 网页 > 模板里面包括可调用的不同的Google广告代码,或其它个性化的广告代码(java script, 或简单html 代码) > 模板以后可以不断调节 > 模板也可能根据一个已经成型的网站设计 > 内容重写 =》 次序,避免被S认为重复 > > 从新生成的HTML过程每天一次(会让搜索引擎机器人认为文档比较新鲜) > Sitemap 然后自动提交(这个不用设计,已经有现成的) > SEO优化 > 每个页面的keywords, description, title 都会根据新闻内容做简单的智能优化。 > 对新闻标题进行智能改变 - 减少版权纠纷。 > 并能够自动产生一定数量的Tag标签 > 整个新闻系统形成一个简单的导航内容,方便读者寻找以往内容。 > 并配以Google 站内搜索的内容(考虑结合模板设计,也是可以调节的) > 考虑配置Addthis的推广代码 > 可以从后台进行新闻的简单编辑和增减 - 版权的考虑 > 在页面底部能够随机产生5-6条相关新闻。 > 在底部会形成Google分析代码,可以加在模板内。 > 页面的编码可以调配,中文或英文 > 底部有Webmaster的联系方式。 > 整个新闻体系可以进行RSS输出,或者可以写入一个Wordpress系统。 利用Blog来进行输出。 > 能够ping其它服务器,自动形成Tag? > 一个可以在其它网站上面显示的调用的widget(JS),显示几条最新新闻? > > > 新闻源和抓取数量可以调节 > 新闻关键词可以调节 > 模板使用可以调节 > 模板文件可以手工编辑 > 服务器上的路径可以调节或改变 > 新闻日期范围可以定制 > 分类可以明确 > 支持一个或多个关键词 > 可以确定新闻抓取数量上限 > > 变量通过一个设置文档进行调解 > > > > > > > > > _______________________________________________ > China-pm mailing list > China-pm at pm.org > http://mail.pm.org/mailman/listinfo/china-pm > -- gegewan的博客技术含量高,写程序的兄弟不要错过 http://www.opendict.net -------------- next part -------------- An HTML attachment was scrubbed... URL: From hylinux at gmail.com Tue Nov 4 18:03:17 2008 From: hylinux at gmail.com (Mike.G) Date: Wed, 5 Nov 2008 10:03:17 +0800 Subject: [PerlChina] =?gb2312?b?t6K49rvutvmjrNPQ0MvIpLXEyMu/ydLUytTK1KGj?= =?gb2312?b?xbzDu8qxvOTFqg==?= In-Reply-To: <9ff89e80811040845k35603e46xcb1fec4914341b6c@mail.gmail.com> References: <74646cb40811031906s3f7e02dbrf182d91025d9cda0@mail.gmail.com> <9ff89e80811040845k35603e46xcb1fec4914341b6c@mail.gmail.com> Message-ID: <74646cb40811041803m39d07042h6e190efde9d9da98@mail.gmail.com> 你有兴趣就和人家联系一下吧。 你就别管什么知识不知识了,也别管什么正事不正事了。 闷头赚点钱不就行了? 人家要得很急。我实在是抽不出时间。 另外弱弱的问一句:什么是NLP? 缩写搞不清是什么东西。LWP? *^-^* 2008/11/5 Wan Chaowei > 这个系统涉及很多知识,其中涉及NLP部分在下倒是很有兴趣。 > > 不过可惜,怎么不干正事呢 > > 2008/11/4 黄叶 > >> 一个新闻抓取系统,下面是人家写的要求。 >> 偶比较忙,也没什么兴趣,有兴趣的人和他们联系一下: >> 联系人邮箱和MSN: >> 邮箱:richardxu7 at gmail.com >> MSN: richardxu7 at hotmail.com >> >> >> 系统配置: >> >> Linux >> Perl >> Mysql >> Html >> >> 目的: >> >> 一套能够自动抓取新闻内容,并产生网页的系统。 >> 新闻来源 - google news, yahoo news, news.sina.com.cn,或者是一个可以RSS输出的新闻源 >> (是双语系统,但英文为主) >> >> 功能要求: >> >> Perl 语言后台运行 + Cron (每天运行, 时间频率可以调节) >> 新闻内容读取后,存入Mysql数据库 >> 能够自动过滤重复的新闻,做简单的内容重复分析 >> Perl 语言从数据库中读取新闻,根据模板重新生成优化的 HTML 网页 >> 模板里面包括可调用的不同的Google广告代码,或其它个性化的广告代码(java script, 或简单html 代码) >> 模板以后可以不断调节 >> 模板也可能根据一个已经成型的网站设计 >> 内容重写 =》 次序,避免被S认为重复 >> >> 从新生成的HTML过程每天一次(会让搜索引擎机器人认为文档比较新鲜) >> Sitemap 然后自动提交(这个不用设计,已经有现成的) >> SEO优化 >> 每个页面的keywords, description, title 都会根据新闻内容做简单的智能优化。 >> 对新闻标题进行智能改变 - 减少版权纠纷。 >> 并能够自动产生一定数量的Tag标签 >> 整个新闻系统形成一个简单的导航内容,方便读者寻找以往内容。 >> 并配以Google 站内搜索的内容(考虑结合模板设计,也是可以调节的) >> 考虑配置Addthis的推广代码 >> 可以从后台进行新闻的简单编辑和增减 - 版权的考虑 >> 在页面底部能够随机产生5-6条相关新闻。 >> 在底部会形成Google分析代码,可以加在模板内。 >> 页面的编码可以调配,中文或英文 >> 底部有Webmaster的联系方式。 >> 整个新闻体系可以进行RSS输出,或者可以写入一个Wordpress系统。 利用Blog来进行输出。 >> 能够ping其它服务器,自动形成Tag? >> 一个可以在其它网站上面显示的调用的widget(JS),显示几条最新新闻? >> >> >> 新闻源和抓取数量可以调节 >> 新闻关键词可以调节 >> 模板使用可以调节 >> 模板文件可以手工编辑 >> 服务器上的路径可以调节或改变 >> 新闻日期范围可以定制 >> 分类可以明确 >> 支持一个或多个关键词 >> 可以确定新闻抓取数量上限 >> >> 变量通过一个设置文档进行调解 >> >> >> >> >> >> >> >> >> _______________________________________________ >> China-pm mailing list >> China-pm at pm.org >> http://mail.pm.org/mailman/listinfo/china-pm >> > > > > -- > gegewan的博客技术含量高,写程序的兄弟不要错过 > http://www.opendict.net > > _______________________________________________ > 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: From agentzh at gmail.com Tue Nov 4 18:31:59 2008 From: agentzh at gmail.com (agentzh) Date: Wed, 5 Nov 2008 10:31:59 +0800 Subject: [PerlChina] =?gb2312?b?t6K49rvutvmjrNPQ0MvIpLXEyMu/ydLUytTK1KGj?= =?gb2312?b?xbzDu8qxvOTFqg==?= In-Reply-To: <74646cb40811041803m39d07042h6e190efde9d9da98@mail.gmail.com> References: <74646cb40811031906s3f7e02dbrf182d91025d9cda0@mail.gmail.com> <9ff89e80811040845k35603e46xcb1fec4914341b6c@mail.gmail.com> <74646cb40811041803m39d07042h6e190efde9d9da98@mail.gmail.com> Message-ID: 2008/11/5 Mike. G > 你有兴趣就和人家联系一下吧。 > 你就别管什么知识不知识了,也别管什么正事不正事了。 > 闷头赚点钱不就行了? > 人家要得很急。我实在是抽不出时间。 > > 另外弱弱的问一句:什么是NLP? 缩写搞不清是什么东西。LWP? > *^-^* > > Natural Language Processing? -agentzh -------------- next part -------------- An HTML attachment was scrubbed... URL: From agentzh at gmail.com Tue Nov 4 18:45:01 2008 From: agentzh at gmail.com (agentzh) Date: Wed, 5 Nov 2008 10:45:01 +0800 Subject: [PerlChina] Perl show PPT In-Reply-To: <20081102033413.239670@gmx.net> References: <20081102033413.239670@gmx.net> Message-ID: 2008/11/2 Jeff Peng > 和华南理工的几位老师一直很熟,近期跟他们沟通,有计划去他们的网络学院向学生演讲下perl并展示perl的魅力。 > 大家有没有这方面比较好的PPT推荐?中英文皆可。 > Sorry for the delay...I've been sick these days :( I found the Perl Myths talk rather impressive: http://www.slideshare.net/Tim.Bunce/perl-myths-200802-with-notes/ Cheers, -agentzh -------------- next part -------------- An HTML attachment was scrubbed... URL: From jeffpeng at gmx.net Tue Nov 4 22:23:43 2008 From: jeffpeng at gmx.net (Jeff Peng) Date: Wed, 05 Nov 2008 07:23:43 +0100 Subject: [PerlChina] Perl show PPT In-Reply-To: References: <20081102033413.239670@gmx.net> Message-ID: <20081105062343.113710@gmx.net> -------- Original-Nachricht -------- > Datum: Wed, 5 Nov 2008 10:45:01 +0800 > Von: agentzh > > Sorry for the delay...I've been sick these days :( > > I found the Perl Myths talk rather impressive: > http://www.slideshare.net/Tim.Bunce/perl-myths-200802-with-notes/ > Thanks for the info. Take care for the health. -- Der GMX SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen! Ideal für Modem und ISDN: http://www.gmx.net/de/go/smartsurfer From hylinux at gmail.com Wed Nov 5 19:27:01 2008 From: hylinux at gmail.com (Mike.G) Date: Thu, 6 Nov 2008 11:27:01 +0800 Subject: [PerlChina] =?gb2312?b?t6K49rvutvmjrNPQ0MvIpLXEyMu/ydLUytTK1KGj?= =?gb2312?b?xbzDu8qxvOTFqg==?= In-Reply-To: References: <74646cb40811031906s3f7e02dbrf182d91025d9cda0@mail.gmail.com> <9ff89e80811040845k35603e46xcb1fec4914341b6c@mail.gmail.com> <74646cb40811041803m39d07042h6e190efde9d9da98@mail.gmail.com> Message-ID: <74646cb40811051927t4bd1168dvaf9815b7231497ad@mail.gmail.com> 好像是,不过不确定。 不过貌似这个项目扯上这个,会不会有点太那个了啊? 个人觉得用正则应该就好了。关键是要定义特征字符串。 2008/11/5 agentzh > 2008/11/5 Mike. G > >> 你有兴趣就和人家联系一下吧。 >> 你就别管什么知识不知识了,也别管什么正事不正事了。 >> 闷头赚点钱不就行了? >> 人家要得很急。我实在是抽不出时间。 >> >> 另外弱弱的问一句:什么是NLP? 缩写搞不清是什么东西。LWP? >> *^-^* >> >> > Natural Language Processing? > > -agentzh > > > _______________________________________________ > 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: From sleetdrop at gmail.com Sat Nov 8 17:20:43 2008 From: sleetdrop at gmail.com (Yuan Jiang) Date: Sun, 9 Nov 2008 09:20:43 +0800 Subject: [PerlChina] =?utf-8?b?6IO95ZCm5o+Q5L6bSmVzc2XnmoRzbGlkZeS4iw==?= =?utf-8?b?6L29?= Message-ID: <7e59d1bb0811081720q398e6dcdl8bee0988c5a7db66@mail.gmail.com> RT -- 姜源 Yuan Jiang http://blog.vetcafe.net -------------- next part -------------- An HTML attachment was scrubbed... URL: From cnhacktnt at gmail.com Sat Nov 8 19:30:03 2008 From: cnhacktnt at gmail.com (cnhack TNT) Date: Sun, 9 Nov 2008 11:30:03 +0800 Subject: [PerlChina] =?gb2312?b?xNy38czhualKZXNzZbXEc2xpZGXPwtTY?= In-Reply-To: <7e59d1bb0811081720q398e6dcdl8bee0988c5a7db66@mail.gmail.com> References: <7e59d1bb0811081720q398e6dcdl8bee0988c5a7db66@mail.gmail.com> Message-ID: 估计 qiang 稍候会把相关的 slides 和音视频记录整理好上传的吧:-) On Sun, Nov 9, 2008 at 9:20 AM, Yuan Jiang wrote: > RT > > > > -- > 姜源 > Yuan Jiang > http://blog.vetcafe.net > > _______________________________________________ > 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: From agentzh at gmail.com Sat Nov 8 19:50:54 2008 From: agentzh at gmail.com (agentzh) Date: Sun, 9 Nov 2008 11:50:54 +0800 Subject: [PerlChina] =?gb2312?b?xNy38czhualKZXNzZbXEc2xpZGXPwtTY?= In-Reply-To: <7e59d1bb0811081720q398e6dcdl8bee0988c5a7db66@mail.gmail.com> References: <7e59d1bb0811081720q398e6dcdl8bee0988c5a7db66@mail.gmail.com> Message-ID: On Sun, Nov 9, 2008 at 9:20 AM, Yuan Jiang wrote: > RT > I've just asked Jesse about that and he promised to put every piece of his slides online ;) We're in hackathon mode right now ;) -agentzh From sleetdrop at gmail.com Sat Nov 8 20:24:05 2008 From: sleetdrop at gmail.com (Yuan Jiang) Date: Sun, 9 Nov 2008 12:24:05 +0800 Subject: [PerlChina] =?utf-8?b?6IO95ZCm5o+Q5L6bSmVzc2XnmoRzbGlkZeS4iw==?= =?utf-8?b?6L29?= In-Reply-To: References: <7e59d1bb0811081720q398e6dcdl8bee0988c5a7db66@mail.gmail.com> Message-ID: <7e59d1bb0811082024w65a4d665n195ef4ffde45f161@mail.gmail.com> 呵呵, 我在煮粥喝还有洗衣服,周末两天perl一天就好,嘿嘿。 2008/11/9 agentzh > On Sun, Nov 9, 2008 at 9:20 AM, Yuan Jiang wrote: > > RT > > > > I've just asked Jesse about that and he promised to put every piece of > his slides online ;) > > We're in hackathon mode right now ;) > > -agentzh > _______________________________________________ > China-pm mailing list > China-pm at pm.org > http://mail.pm.org/mailman/listinfo/china-pm > -- 姜源 Yuan Jiang http://blog.vetcafe.net -------------- next part -------------- An HTML attachment was scrubbed... URL: From silent2600 at gmail.com Tue Nov 11 20:55:32 2008 From: silent2600 at gmail.com (Silent) Date: Wed, 12 Nov 2008 12:55:32 +0800 Subject: [PerlChina] =?gb2312?b?1tDOxLfWtMrTw8qyw7TEo7/pusPQqT8=?= Message-ID: <4f9acfca0811112055r21791cd1vf6846426ff353383@mail.gmail.com> rt, 用来提取文章的关键字, cpan上lingua::XXX 有几个,还没试呢, 不过貌似那些东西依赖都很大的 有经验的指点一下吧. From agentzh at gmail.com Tue Nov 11 21:20:05 2008 From: agentzh at gmail.com (agentzh) Date: Wed, 12 Nov 2008 13:20:05 +0800 Subject: [PerlChina] =?gb2312?b?1tDOxLfWtMrTw8qyw7TEo7/pusPQqT8=?= In-Reply-To: <4f9acfca0811112055r21791cd1vf6846426ff353383@mail.gmail.com> References: <4f9acfca0811112055r21791cd1vf6846426ff353383@mail.gmail.com> Message-ID: 2008/11/12 Silent > rt, > > 用来提取文章的关键字, cpan上lingua::XXX 有几个,还没试呢, 不过貌似那些东西依赖都很大的 > 我们 4E team 在过去的几个月中开发了一个 C 的分词库 Bamboo: http://code.google.com/p/nlpbamboo/ 主要的开发者 jianingy 是我的同事,呵呵,平时就坐我身后。我正在考虑把它做成 XS 扩展放 CPAN 上去,我也刚刚跟他交换了一下意见。现有 CPAN 上的我试了几个感觉都巨慢无比,而且效果不好,呵呵。 我自己的 Blog 的中文全文搜索就是利用 Bamboo 的 PostgreSQL 扩展进行分词,最后通过 OpenResty 暴露出服务。有兴趣可以玩一玩,比如下面这个例子: http://blog.agentzh.org/#search/1/%E7%BD%91%E7%AB%99 有兴趣提供帮助的朋友,我们会非常欢迎! -agentzh -------------- next part -------------- An HTML attachment was scrubbed... URL: From qingran.xia at gmail.com Tue Nov 11 21:35:26 2008 From: qingran.xia at gmail.com (=?GB2312?B?z8TH5ci7IFhpYSBRaW5ncmFu?=) Date: Wed, 12 Nov 2008 13:35:26 +0800 Subject: [PerlChina] =?gb2312?b?1tDOxLfWtMrTw8qyw7TEo7/pusPQqT8=?= In-Reply-To: References: <4f9acfca0811112055r21791cd1vf6846426ff353383@mail.gmail.com> Message-ID: 哈,以前作反垃圾邮件的时候搞过不少此类的东东~~~ checkout了bamboo正在看... 2008/11/12 agentzh > 2008/11/12 Silent > >> rt, >> >> 用来提取文章的关键字, cpan上lingua::XXX 有几个,还没试呢, 不过貌似那些东西依赖都很大的 >> > > 我们 4E team 在过去的几个月中开发了一个 C 的分词库 Bamboo: > > http://code.google.com/p/nlpbamboo/ > > 主要的开发者 jianingy 是我的同事,呵呵,平时就坐我身后。我正在考虑把它做成 XS 扩展放 CPAN 上去,我也刚刚跟他交换了一下意见。现有 > CPAN 上的我试了几个感觉都巨慢无比,而且效果不好,呵呵。 > > 我自己的 Blog 的中文全文搜索就是利用 Bamboo 的 PostgreSQL 扩展进行分词,最后通过 OpenResty > 暴露出服务。有兴趣可以玩一玩,比如下面这个例子: > > http://blog.agentzh.org/#search/1/%E7%BD%91%E7%AB%99 > > 有兴趣提供帮助的朋友,我们会非常欢迎! > > -agentzh > > _______________________________________________ > China-pm mailing list > China-pm at pm.org > http://mail.pm.org/mailman/listinfo/china-pm > -- 夏清然 Xia Qingran qingran.xia at gmail.com Mike Myers - "My theory is that all of Scottish cuisine is based on a dare." -------------- next part -------------- An HTML attachment was scrubbed... URL: From silent2600 at gmail.com Tue Nov 11 21:53:20 2008 From: silent2600 at gmail.com (Silent) Date: Wed, 12 Nov 2008 13:53:20 +0800 Subject: [PerlChina] =?gb2312?b?1tDOxLfWtMrTw8qyw7TEo7/pusPQqT8=?= In-Reply-To: References: <4f9acfca0811112055r21791cd1vf6846426ff353383@mail.gmail.com> Message-ID: <4f9acfca0811112153t307b2e09x9280c26768a9b053@mail.gmail.com> 谢谢! 貌似很复杂的样子 2008/11/12 agentzh : > 2008/11/12 Silent >> >> rt, >> >> 用来提取文章的关键字, cpan上lingua::XXX 有几个,还没试呢, 不过貌似那些东西依赖都很大的 > > 我们 4E team 在过去的几个月中开发了一个 C 的分词库 Bamboo: > > http://code.google.com/p/nlpbamboo/ > > 主要的开发者 jianingy 是我的同事,呵呵,平时就坐我身后。我正在考虑把它做成 XS 扩展放 CPAN 上去,我也刚刚跟他交换了一下意见。现有 > CPAN 上的我试了几个感觉都巨慢无比,而且效果不好,呵呵。 > > 我自己的 Blog 的中文全文搜索就是利用 Bamboo 的 PostgreSQL 扩展进行分词,最后通过 OpenResty > 暴露出服务。有兴趣可以玩一玩,比如下面这个例子: > > http://blog.agentzh.org/#search/1/%E7%BD%91%E7%AB%99 > > 有兴趣提供帮助的朋友,我们会非常欢迎! > > -agentzh > > _______________________________________________ > China-pm mailing list > China-pm at pm.org > http://mail.pm.org/mailman/listinfo/china-pm > From wanmyome at gmail.com Wed Nov 12 03:55:22 2008 From: wanmyome at gmail.com (Wan Chaowei) Date: Wed, 12 Nov 2008 19:55:22 +0800 Subject: [PerlChina] =?utf-8?b?5Lit5paH5YiG6K+N55So5LuA5LmI5qih5Z2X5aW9?= =?utf-8?b?5LqbPw==?= In-Reply-To: <4f9acfca0811112055r21791cd1vf6846426ff353383@mail.gmail.com> References: <4f9acfca0811112055r21791cd1vf6846426ff353383@mail.gmail.com> Message-ID: <9ff89e80811120355n1913c987w55a80cdd5701e240@mail.gmail.com> 对于分词,我的建议是调用其他系统;使用反引号外部调用也可以,如果程序要在非windows的系统上运行,推荐ictclas,如果只在windows上运行,我推荐微软的分词系统。微软的分词系统是我见过最准确的分词系统 关键字提取又是一门学问了 2008/11/12 Silent > rt, > > 用来提取文章的关键字, cpan上lingua::XXX 有几个,还没试呢, 不过貌似那些东西依赖都很大的 > > 有经验的指点一下吧. > _______________________________________________ > China-pm mailing list > China-pm at pm.org > http://mail.pm.org/mailman/listinfo/china-pm -- gegewan的博客技术含量高,写程序的兄弟不要错过 http://www.opendict.net -------------- next part -------------- An HTML attachment was scrubbed... URL: From fayland at gmail.com Wed Nov 12 21:58:23 2008 From: fayland at gmail.com (Fayland Lam) Date: Thu, 13 Nov 2008 13:58:23 +0800 Subject: [PerlChina] should we change our mailing list? Message-ID: <491BC1FF.30609@gmail.com> It seems like many people can't reach this mailing list. so I'm thinking we can go Google Group instead. there is already http://groups.google.com/group/perlchina before we start this group, but I don't know who owns it. http://groups.google.com/group/china-pm is another choice. what do u guys think. Thanks. -- Fayland Lam // http://www.fayland.org/ Foorum based on Catalyst // http://www.foorumbbs.com/ From agentzh at gmail.com Wed Nov 12 22:08:52 2008 From: agentzh at gmail.com (agentzh) Date: Thu, 13 Nov 2008 14:08:52 +0800 Subject: [PerlChina] should we change our mailing list? In-Reply-To: <491BC1FF.30609@gmail.com> References: <491BC1FF.30609@gmail.com> Message-ID: On Thu, Nov 13, 2008 at 1:58 PM, Fayland Lam wrote: > > It seems like many people can't reach this mailing list. so I'm thinking we can go Google Group instead. > Personally I am fine with such migrations :) -agentzh From qingran.xia at gmail.com Wed Nov 12 23:08:07 2008 From: qingran.xia at gmail.com (=?ISO-2022-JP?B?GyRCMkZANkEzGyhCIFhpYSBRaW5ncmFu?=) Date: Thu, 13 Nov 2008 15:08:07 +0800 Subject: [PerlChina] should we change our mailing list? In-Reply-To: References: <491BC1FF.30609@gmail.com> Message-ID: On Thu, Nov 13, 2008 at 2:08 PM, agentzh wrote: > On Thu, Nov 13, 2008 at 1:58 PM, Fayland Lam wrote: > > > > It seems like many people can't reach this mailing list. so I'm thinking > we can go Google Group instead. > > > > Personally I am fine with such migrations :) > > -agentzh > I think if we have enough technical background, we should build our mailing list by ourselves. Whether Google's service is stable is a problem especially in China. -- 夏清然 Xia Qingran qingran.xia at gmail.com Rita Rudner - "My mother buried three husbands - and two of them were only napping." -------------- next part -------------- An HTML attachment was scrubbed... URL: From fayland at gmail.com Wed Nov 12 23:13:11 2008 From: fayland at gmail.com (Fayland Lam) Date: Thu, 13 Nov 2008 15:13:11 +0800 Subject: [PerlChina] should we change our mailing list? In-Reply-To: References: <491BC1FF.30609@gmail.com> Message-ID: <491BD387.8000504@gmail.com> 夏清然 Xia Qingran wrote: > On Thu, Nov 13, 2008 at 2:08 PM, agentzh > wrote: > > On Thu, Nov 13, 2008 at 1:58 PM, Fayland Lam > wrote: > > > > It seems like many people can't reach this mailing list. so I'm > thinking we can go Google Group instead. > > > > Personally I am fine with such migrations :) > > -agentzh > > > I think if we have enough technical background, we should build our > mailing list by ourselves. > > Whether Google's service is stable is a problem especially in China. > basically google groups web has issues. but the email system is grat (even there is some delay) well, it's not very hard to setup a python based mailman. but for Perl, there isn't too much choice. build from the beginning is a good choice but it requires a lot of work. Thanks. > > -- > 夏清然 > Xia Qingran > qingran.xia at gmail.com > Rita Rudner - "My mother buried three husbands - and two of them were > only napping." > ------------------------------------------------------------------------ > > _______________________________________________ > China-pm mailing list > China-pm at pm.org > http://mail.pm.org/mailman/listinfo/china-pm -- Fayland Lam // http://www.fayland.org/ Foorum based on Catalyst // http://www.foorumbbs.com/ From bruce1914 at gmail.com Thu Nov 13 00:40:52 2008 From: bruce1914 at gmail.com (bruce) Date: Thu, 13 Nov 2008 16:40:52 +0800 Subject: [PerlChina] should we change our mailing list? In-Reply-To: <491BD387.8000504@gmail.com> References: <491BC1FF.30609@gmail.com> <491BD387.8000504@gmail.com> Message-ID: <491BE814.3030705@gmail.com> I am OK Fayland Lam wrote: > 夏清然 Xia Qingran wrote: > >> On Thu, Nov 13, 2008 at 2:08 PM, agentzh > > wrote: >> >> On Thu, Nov 13, 2008 at 1:58 PM, Fayland Lam > > wrote: >> > >> > It seems like many people can't reach this mailing list. so I'm >> thinking we can go Google Group instead. >> > >> >> Personally I am fine with such migrations :) >> >> -agentzh >> >> >> I think if we have enough technical background, we should build our >> mailing list by ourselves. >> >> Whether Google's service is stable is a problem especially in China. >> >> > > basically google groups web has issues. > but the email system is grat (even there is some delay) > > well, it's not very hard to setup a python based mailman. but for Perl, > there isn't too much choice. > build from the beginning is a good choice but it requires a lot of work. > > > Thanks. > > >> -- >> 夏清然 >> Xia Qingran >> qingran.xia at gmail.com >> Rita Rudner - "My mother buried three husbands - and two of them were >> only napping." >> ------------------------------------------------------------------------ >> >> _______________________________________________ >> China-pm mailing list >> China-pm at pm.org >> http://mail.pm.org/mailman/listinfo/china-pm >> > > > From harryzs1981 at yahoo.com.cn Thu Nov 13 01:22:17 2008 From: harryzs1981 at yahoo.com.cn (sheng zhao) Date: Thu, 13 Nov 2008 17:22:17 +0800 (CST) Subject: [PerlChina] =?gb2312?b?u9i4tKO6ICBzaG91bGQgd2UgY2hhbmdlIG91ciBt?= =?gb2312?b?YWlsaW5nIGxpc3Q/?= References: <491BC1FF.30609@gmail.com> Message-ID: <642707.5737.qm@web15907.mail.cnb.yahoo.com> This is a advertisement!! ^_^ ________________________________ 发件人: Fayland Lam 收件人: china-pm at pm.org 已发送: 2008/11/13(周四), 上午6:58:23 主题: [PerlChina] should we change our mailing list? It seems like many people can't reach this mailing list. so I'm thinking we can go Google Group instead. there is already http://groups.google.com/group/perlchina before we start this group, but I don't know who owns it. http://groups.google.com/group/china-pm is another choice. what do u guys think. Thanks. -- Fayland Lam // http://www.fayland.org/ Foorum based on Catalyst // http://www.foorumbbs.com/ _______________________________________________ China-pm mailing list China-pm at pm.org http://mail.pm.org/mailman/listinfo/china-pm ___________________________________________________________ 雅虎邮箱,您的终生邮箱! http://cn.mail.yahoo.com/ -------------- next part -------------- An HTML attachment was scrubbed... URL: From wanmyome at gmail.com Thu Nov 13 05:35:34 2008 From: wanmyome at gmail.com (gegewan) Date: Thu, 13 Nov 2008 21:35:34 +0800 Subject: [PerlChina] should we change our mailing list? In-Reply-To: <491BC1FF.30609@gmail.com> References: <491BC1FF.30609@gmail.com> Message-ID: <491C2D26.6000404@gmail.com> Fayland Lam 写道: > It seems like many people can't reach this mailing list. so I'm > thinking we can go Google Group instead. > > there is already http://groups.google.com/group/perlchina before we > start this group, but I don't know who owns it. > http://groups.google.com/group/china-pm is another choice. > > what do u guys think. > > Thanks. > 两个都挺好 From tigerpeng2001 at yahoo.com Thu Nov 13 10:41:46 2008 From: tigerpeng2001 at yahoo.com (tiger peng) Date: Thu, 13 Nov 2008 10:41:46 -0800 (PST) Subject: [PerlChina] perl shell in activeperl Message-ID: <149432.40910.qm@web58703.mail.re1.yahoo.com> Hello, I am new to activeperl. Today, I installed DBI::Shell and played with dbish and ran into problem: the echoed input seems being wrapped by escaping characters. For example, when I entered "dev" the screen show"←[1md←[0m←[1me←[0m←[1mv←[0m". Could anyone tell me how to get a clean screen? Thanks, Tiger, -------------- next part -------------- An HTML attachment was scrubbed... URL: From fayland at gmail.com Thu Nov 13 17:03:50 2008 From: fayland at gmail.com (Fayland Lam) Date: Fri, 14 Nov 2008 09:03:50 +0800 Subject: [PerlChina] should we change our mailing list? In-Reply-To: <491BE814.3030705@gmail.com> References: <491BC1FF.30609@gmail.com> <491BD387.8000504@gmail.com> <491BE814.3030705@gmail.com> Message-ID: <491CCE76.3030300@gmail.com> well, I get 10 mails today. bunch of those some days ago. things like xxx at xxx.com has been removed from China-pm. but I don't know what can I do towards this. so I suggest those who can't reach china-pm at pm.org, use china-pm at googlegroups.com instead. personally I'd like you to subscribe the china-pm at googlegroups.com Thanks. bruce wrote: > I am OK > > > Fayland Lam wrote: >> 夏清然 Xia Qingran wrote: >> >>> On Thu, Nov 13, 2008 at 2:08 PM, agentzh >> > wrote: >>> >>> On Thu, Nov 13, 2008 at 1:58 PM, Fayland Lam >> > wrote: >>> > >>> > It seems like many people can't reach this mailing list. so I'm >>> thinking we can go Google Group instead. >>> > >>> >>> Personally I am fine with such migrations :) >>> >>> -agentzh >>> >>> >>> I think if we have enough technical background, we should build our >>> mailing list by ourselves. >>> >>> Whether Google's service is stable is a problem especially in China. >>> >>> >> >> basically google groups web has issues. >> but the email system is grat (even there is some delay) >> >> well, it's not very hard to setup a python based mailman. but for Perl, >> there isn't too much choice. >> build from the beginning is a good choice but it requires a lot of work. >> >> >> Thanks. >> >> >>> -- >>> 夏清然 >>> Xia Qingran >>> qingran.xia at gmail.com >>> Rita Rudner - "My mother buried three husbands - and two of them were >>> only napping." >>> ------------------------------------------------------------------------ >>> >>> >>> _______________________________________________ >>> 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 -- Fayland Lam // http://www.fayland.org/ Foorum based on Catalyst // http://www.foorumbbs.com/ From huawei.sdu at gmail.com Thu Nov 13 17:21:49 2008 From: huawei.sdu at gmail.com (huawei) Date: Fri, 14 Nov 2008 09:21:49 +0800 Subject: [PerlChina] should we change our mailing list? In-Reply-To: <491CCE76.3030300@gmail.com> References: <491BC1FF.30609@gmail.com> <491BD387.8000504@gmail.com> <491BE814.3030705@gmail.com> <491CCE76.3030300@gmail.com> Message-ID: <491CD2AD.8010509@gmail.com> I have not accepted your suggest,and I subscribed the first one. it seems ok! can you tell me the differences between them ? why Fayland Lam 写道: > well, I get 10 mails today. bunch of those some days ago. things like > > xxx at xxx.com has been removed from China-pm. > > > but I don't know what can I do towards this. so I suggest those who > can't reach china-pm at pm.org, use china-pm at googlegroups.com instead. > > personally I'd like you to subscribe the china-pm at googlegroups.com > > Thanks. > > > bruce wrote: >> I am OK >> >> >> Fayland Lam wrote: >>> 夏清然 Xia Qingran wrote: >>> >>>> On Thu, Nov 13, 2008 at 2:08 PM, agentzh >>> > wrote: >>>> >>>> On Thu, Nov 13, 2008 at 1:58 PM, Fayland Lam >>> > wrote: >>>> > >>>> > It seems like many people can't reach this mailing list. so I'm >>>> thinking we can go Google Group instead. >>>> > >>>> >>>> Personally I am fine with such migrations :) >>>> >>>> -agentzh >>>> >>>> >>>> I think if we have enough technical background, we should build our >>>> mailing list by ourselves. >>>> >>>> Whether Google's service is stable is a problem especially in China. >>>> >>>> >>> >>> basically google groups web has issues. >>> but the email system is grat (even there is some delay) >>> >>> well, it's not very hard to setup a python based mailman. but for Perl, >>> there isn't too much choice. >>> build from the beginning is a good choice but it requires a lot of >>> work. >>> >>> >>> Thanks. >>> >>> >>>> -- >>>> 夏清然 >>>> Xia Qingran >>>> qingran.xia at gmail.com >>>> Rita Rudner - "My mother buried three husbands - and two of them were >>>> only napping." >>>> ------------------------------------------------------------------------ >>>> >>>> >>>> _______________________________________________ >>>> 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 fayland at gmail.com Thu Nov 13 17:32:28 2008 From: fayland at gmail.com (Fayland Lam) Date: Fri, 14 Nov 2008 09:32:28 +0800 Subject: [PerlChina] should we change our mailing list? In-Reply-To: <491CD2AD.8010509@gmail.com> References: <491BC1FF.30609@gmail.com> <491BD387.8000504@gmail.com> <491BE814.3030705@gmail.com> <491CCE76.3030300@gmail.com> <491CD2AD.8010509@gmail.com> Message-ID: <491CD52C.9090302@gmail.com> no difference. I just don't know who control the perlchina google group. see if there is any spam, who can delete it. Thanks. huawei wrote: > I have not accepted your suggest,and I subscribed the first one. > it seems ok! > > can you tell me the differences between them ? > > why > > Fayland Lam 写道: >> well, I get 10 mails today. bunch of those some days ago. things like >> >> xxx at xxx.com has been removed from China-pm. >> >> >> but I don't know what can I do towards this. so I suggest those who >> can't reach china-pm at pm.org, use china-pm at googlegroups.com instead. >> >> personally I'd like you to subscribe the china-pm at googlegroups.com >> >> Thanks. >> >> >> bruce wrote: >>> I am OK >>> >>> >>> Fayland Lam wrote: >>>> 夏清然 Xia Qingran wrote: >>>> >>>>> On Thu, Nov 13, 2008 at 2:08 PM, agentzh >>>> > wrote: >>>>> >>>>> On Thu, Nov 13, 2008 at 1:58 PM, Fayland Lam >>>> > wrote: >>>>> > >>>>> > It seems like many people can't reach this mailing list. so I'm >>>>> thinking we can go Google Group instead. >>>>> > >>>>> >>>>> Personally I am fine with such migrations :) >>>>> >>>>> -agentzh >>>>> >>>>> >>>>> I think if we have enough technical background, we should build our >>>>> mailing list by ourselves. >>>>> >>>>> Whether Google's service is stable is a problem especially in China. >>>>> >>>>> >>>> >>>> basically google groups web has issues. >>>> but the email system is grat (even there is some delay) >>>> >>>> well, it's not very hard to setup a python based mailman. but for >>>> Perl, >>>> there isn't too much choice. >>>> build from the beginning is a good choice but it requires a lot of >>>> work. >>>> >>>> >>>> Thanks. >>>> >>>> >>>>> -- >>>>> 夏清然 >>>>> Xia Qingran >>>>> qingran.xia at gmail.com >>>>> Rita Rudner - "My mother buried three husbands - and two of them were >>>>> only napping." >>>>> ------------------------------------------------------------------------ >>>>> >>>>> >>>>> _______________________________________________ >>>>> 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 -- Fayland Lam // http://www.fayland.org/ Foorum based on Catalyst // http://www.foorumbbs.com/ From shijialee at gmail.com Thu Nov 13 17:54:10 2008 From: shijialee at gmail.com (Qiang (James)) Date: Fri, 14 Nov 2008 09:54:10 +0800 Subject: [PerlChina] =?utf-8?b?bWFpbGluZyBsaXN0IOWSjCBwZXJsY2hpbmEg572R?= =?utf-8?b?56uZ?= In-Reply-To: <491CCE76.3030300@gmail.com> References: <491BC1FF.30609@gmail.com> <491BD387.8000504@gmail.com> <491BE814.3030705@gmail.com> <491CCE76.3030300@gmail.com> Message-ID: <491CDA42.1040503@gmail.com> Fayland Lam wrote: > well, I get 10 mails today. bunch of those some days ago. things like > > xxx at xxx.com has been removed from China-pm. > > > but I don't know what can I do towards this. so I suggest those who > can't reach china-pm at pm.org, use china-pm at googlegroups.com instead. > 那些 email 是现在这个邮件组发不过去的地址,因为那些 email 已经不存在了 (email已经被系统从邮件列表里删除了) perlchina google group 的邮件组应该是我申请的,不过我要找到密码先 :) 关于移植到 google group 的问题,我想还是大家把现在这个邮件组的问题说一 下,为什么要搬家,搬家后有什么好处,有什么坏处。比较过后再定夺。 现在的 planet.perlchina.org 已经在公开测试中(fayland: nomas blog 地址写 错了,另外你能否把外表稍排一下版么?放上 perlchina 的 logo) 另外,我感觉 perlchina 的网址缺少一些用户间互动的东西(至少应该把新帖 子,新的 planet perlchina 的 blog 在主页显示,新 wiki 文章),论坛里分版 太多,交流的人不多。但我又感觉有一个不错的邮件列表供大家交流就够了。 大家有什么比较实际的想法和意见么? Qiang(James) From fayland at gmail.com Thu Nov 13 20:30:58 2008 From: fayland at gmail.com (Fayland Lam) Date: Fri, 14 Nov 2008 12:30:58 +0800 Subject: [PerlChina] =?utf-8?b?bWFpbGluZyBsaXN0IOWSjCBwZXJsY2hpbmEg572R?= =?utf-8?b?56uZ?= In-Reply-To: <491CDA42.1040503@gmail.com> References: <491BC1FF.30609@gmail.com> <491BD387.8000504@gmail.com> <491BE814.3030705@gmail.com> <491CCE76.3030300@gmail.com> <491CDA42.1040503@gmail.com> Message-ID: <491CFF02.7060007@gmail.com> Qiang (James) wrote: > Fayland Lam wrote: >> well, I get 10 mails today. bunch of those some days ago. things like >> >> xxx at xxx.com has been removed from China-pm. >> >> >> but I don't know what can I do towards this. so I suggest those who >> can't reach china-pm at pm.org, use china-pm at googlegroups.com instead. >> > > 那些 email 是现在这个邮件组发不过去的地址,因为那些 email 已经不存在了 > (email已经被系统从邮件列表里删除了) > > perlchina google group 的邮件组应该是我申请的,不过我要找到密码先 :) > > 关于移植到 google group 的问题,我想还是大家把现在这个邮件组的问题说一 > 下,为什么要搬家,搬家后有什么好处,有什么坏处。比较过后再定夺。 Beckheng Lam noticed me that he can't use his gmail and sina mail to reach china-pm at pm.org the china-pm treats his emails as SPAM. pm.org does have a strict rule on SPAM and it's not so good sometimes. while google group is very popular and easy to use (even web interface is not accessible sometimes). Thanks. > > 现在的 planet.perlchina.org 已经在公开测试中(fayland: nomas blog 地址 > 写错了,另外你能否把外表稍排一下版么?放上 perlchina 的 logo) > > 另外,我感觉 perlchina 的网址缺少一些用户间互动的东西(至少应该把新帖 > 子,新的 planet perlchina 的 blog 在主页显示,新 wiki 文章),论坛里分 > 版 太多,交流的人不多。但我又感觉有一个不错的邮件列表供大家交流就够了。 > > 大家有什么比较实际的想法和意见么? > > Qiang(James) > _______________________________________________ > China-pm mailing list > China-pm at pm.org > http://mail.pm.org/mailman/listinfo/china-pm -- Fayland Lam // http://www.fayland.org/ Foorum based on Catalyst // http://www.foorumbbs.com/ From jeffpeng at gmx.net Thu Nov 13 21:01:28 2008 From: jeffpeng at gmx.net (Jeff Peng) Date: Fri, 14 Nov 2008 06:01:28 +0100 Subject: [PerlChina] =?utf-8?b?bWFpbGluZyBsaXN0IOWSjCBwZXJsY2hpbmEg572R?= =?utf-8?b?56uZ?= In-Reply-To: <491CFF02.7060007@gmail.com> References: <491BC1FF.30609@gmail.com> <491BD387.8000504@gmail.com> <491BE814.3030705@gmail.com> <491CCE76.3030300@gmail.com> <491CDA42.1040503@gmail.com> <491CFF02.7060007@gmail.com> Message-ID: <20081114050128.194290@gmx.net> -------- Original-Nachricht -------- > Datum: Fri, 14 Nov 2008 12:30:58 +0800 > Von: Fayland Lam > An: china-pm at pm.org > Betreff: Re: [PerlChina] mailing list 和 perlchina 网站 > pm.org does have a strict rule on SPAM and it's not so good sometimes. Agree. its antispam strategy is too strict to reach even for a clear HAM message. > > while google group is very popular and easy to use (even web interface > is not accessible sometimes). > Can we use non-gmail to subscribe to a google-group? -- Sensationsangebot nur bis 30.11: GMX FreeDSL - Telefonanschluss + DSL für nur 16,37 Euro/mtl.!* http://dsl.gmx.de/?ac=OM.AD.PD003K11308T4569a From aferreira at shopzilla.com Thu Nov 13 21:38:40 2008 From: aferreira at shopzilla.com (Adriano Ferreira) Date: Fri, 14 Nov 2008 03:38:40 -0200 Subject: [PerlChina] perl shell in activeperl In-Reply-To: <149432.40910.qm@web58703.mail.re1.yahoo.com> References: <149432.40910.qm@web58703.mail.re1.yahoo.com> Message-ID: <73ddeb6c0811132138n287906a1j99c1ba561757969e@mail.gmail.com> 2008/11/13 tiger peng : > Hello, > > I am new to activeperl. Today, I installed DBI::Shell and played with dbish > and ran into problem: the echoed input seems being wrapped by escaping > characters. For example, when I entered "dev" the screen show > "←[1md←[0m←[1me←[0m←[1mv←[0m". Could anyone tell me how to get a clean > screen? I think that's because the Perl terminal is trying to use ornaments (you're seen ANSI escapes which are used to change the color and brightness of the text and to control the terminal). But cmd.exe does not provide an ANSI terminal. As DBI::Shell uses Term::ReadLine, I think you can disable that by defining an environment variable PERL_RL with the value > set PERL_RL= o=0 as explained here: http://search.cpan.org/perldoc?Term::ReadLine#ENVIRONMENT Maybe there is a more reasonable way to do it by adding some lines to the configuration file of DBI::Shell, but that should at least work. Regards, Adriano > Thanks, > > Tiger, > > _______________________________________________ > China-pm mailing list > China-pm at pm.org > http://mail.pm.org/mailman/listinfo/china-pm > From hylinux at gmail.com Thu Nov 13 22:34:24 2008 From: hylinux at gmail.com (Mike.G) Date: Fri, 14 Nov 2008 14:34:24 +0800 Subject: [PerlChina] =?gb2312?b?bWFpbGluZyBsaXN0ILrNIHBlcmxjaGluYSDN+NW+?= In-Reply-To: <491CDA42.1040503@gmail.com> References: <491BC1FF.30609@gmail.com> <491BD387.8000504@gmail.com> <491BE814.3030705@gmail.com> <491CCE76.3030300@gmail.com> <491CDA42.1040503@gmail.com> Message-ID: <74646cb40811132234n4d54684cqe5eb399f4a1c38fa@mail.gmail.com> 个人觉得没必要折腾。 折腾越多。越麻烦。 又要学习新的交流方式。多烦人? 更何况移到google group有什么好处? 最好列列。 2008/11/14 Qiang (James) > Fayland Lam wrote: > >> well, I get 10 mails today. bunch of those some days ago. things like >> >> xxx at xxx.com has been removed from China-pm. >> >> >> but I don't know what can I do towards this. so I suggest those who can't >> reach china-pm at pm.org, use china-pm at googlegroups.com instead. >> >> > 那些 email 是现在这个邮件组发不过去的地址,因为那些 email 已经不存在了 (email已经被系统从邮件列表里删除了) > > perlchina google group 的邮件组应该是我申请的,不过我要找到密码先 :) > > 关于移植到 google group 的问题,我想还是大家把现在这个邮件组的问题说一 下,为什么要搬家,搬家后有什么好处,有什么坏处。比较过后再定夺。 > > 现在的 planet.perlchina.org 已经在公开测试中(fayland: nomas blog 地址写 > 错了,另外你能否把外表稍排一下版么?放上 perlchina 的 logo) > > 另外,我感觉 perlchina 的网址缺少一些用户间互动的东西(至少应该把新帖 子,新的 planet perlchina 的 blog > 在主页显示,新 wiki 文章),论坛里分版 太多,交流的人不多。但我又感觉有一个不错的邮件列表供大家交流就够了。 > > 大家有什么比较实际的想法和意见么? > > Qiang(James) > _______________________________________________ > 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: From sleetdrop at gmail.com Thu Nov 13 22:37:12 2008 From: sleetdrop at gmail.com (Yuan Jiang) Date: Fri, 14 Nov 2008 14:37:12 +0800 Subject: [PerlChina] =?utf-8?b?bWFpbGluZyBsaXN0IOWSjCBwZXJsY2hpbmEg572R?= =?utf-8?b?56uZ?= In-Reply-To: <74646cb40811132234n4d54684cqe5eb399f4a1c38fa@mail.gmail.com> References: <491BC1FF.30609@gmail.com> <491BD387.8000504@gmail.com> <491BE814.3030705@gmail.com> <491CCE76.3030300@gmail.com> <491CDA42.1040503@gmail.com> <74646cb40811132234n4d54684cqe5eb399f4a1c38fa@mail.gmail.com> Message-ID: <7e59d1bb0811132237m2a75d12cv64dd61def3bfb587@mail.gmail.com> 目前看googlegroup这个单词的好处就是让这个list突然活跃了一些。 2008/11/14 Mike. G > 个人觉得没必要折腾。 > 折腾越多。越麻烦。 > > 又要学习新的交流方式。多烦人? > > 更何况移到google group有什么好处? > 最好列列。 > > > > 2008/11/14 Qiang (James) > >> Fayland Lam wrote: >> >>> well, I get 10 mails today. bunch of those some days ago. things like >>> >>> xxx at xxx.com has been removed from China-pm. >>> >>> >>> but I don't know what can I do towards this. so I suggest those who can't >>> reach china-pm at pm.org, use china-pm at googlegroups.com instead. >>> >>> >> 那些 email 是现在这个邮件组发不过去的地址,因为那些 email 已经不存在了 (email已经被系统从邮件列表里删除了) >> >> perlchina google group 的邮件组应该是我申请的,不过我要找到密码先 :) >> >> 关于移植到 google group 的问题,我想还是大家把现在这个邮件组的问题说一 >> 下,为什么要搬家,搬家后有什么好处,有什么坏处。比较过后再定夺。 >> >> 现在的 planet.perlchina.org 已经在公开测试中(fayland: nomas blog 地址写 >> 错了,另外你能否把外表稍排一下版么?放上 perlchina 的 logo) >> >> 另外,我感觉 perlchina 的网址缺少一些用户间互动的东西(至少应该把新帖 子,新的 planet perlchina 的 blog >> 在主页显示,新 wiki 文章),论坛里分版 太多,交流的人不多。但我又感觉有一个不错的邮件列表供大家交流就够了。 >> >> 大家有什么比较实际的想法和意见么? >> >> Qiang(James) >> _______________________________________________ >> 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 > -- 姜源 Yuan Jiang http://blog.vetcafe.net -------------- next part -------------- An HTML attachment was scrubbed... URL: From huawei.sdu at gmail.com Thu Nov 13 22:41:18 2008 From: huawei.sdu at gmail.com (huawei) Date: Fri, 14 Nov 2008 14:41:18 +0800 Subject: [PerlChina] =?gb2312?b?bWFpbGluZyBsaXN0ILrNIHBlcmxjaGluYSDN+NW+?= In-Reply-To: <7e59d1bb0811132237m2a75d12cv64dd61def3bfb587@mail.gmail.com> References: <491BC1FF.30609@gmail.com> <491BD387.8000504@gmail.com> <491BE814.3030705@gmail.com> <491CCE76.3030300@gmail.com> <491CDA42.1040503@gmail.com> <74646cb40811132234n4d54684cqe5eb399f4a1c38fa@mail.gmail.com> <7e59d1bb0811132237m2a75d12cv64dd61def3bfb587@mail.gmail.com> Message-ID: <491D1D8E.6040506@gmail.com> 要不来个民主投票表决吧? 同意搬迁or不同一搬迁 Yuan Jiang 写道: > > 目前看googlegroup这个单词的好处就是让这个list突然活跃了一些。 > > 2008/11/14 Mike. G > > > 个人觉得没必要折腾。 > 折腾越多。越麻烦。 > > 又要学习新的交流方式。多烦人? > > 更何况移到google group有什么好处? > 最好列列。 > > > > 2008/11/14 Qiang (James) > > > Fayland Lam wrote: > > well, I get 10 mails today. bunch of those some days ago. > things like > > xxx at xxx.com has been removed from > China-pm. > > > but I don't know what can I do towards this. so I suggest > those who can't reach china-pm at pm.org > , use china-pm at googlegroups.com > instead. > > > 那些 email 是现在这个邮件组发不过去的地址,因为那些 email 已经 > 不存在了 (email已经被系统从邮件列表里删除了) > > perlchina google group 的邮件组应该是我申请的,不过我要找到密 > 码先 :) > > 关于移植到 google group 的问题,我想还是大家把现在这个邮件组的 > 问题说一下,为什么要搬家,搬家后有什么好处,有什么坏处。比较过 > 后再定夺。 > > 现在的 planet.perlchina.org 已经 > 在公开测试中(fayland: nomas blog 地址写 错了,另外你能否把外表 > 稍排一下版么?放上 perlchina 的 logo) > > 另外,我感觉 perlchina 的网址缺少一些用户间互动的东西(至少应 > 该把新帖 子,新的 planet perlchina 的 blog 在主页显示,新 wiki > 文章),论坛里分版 太多,交流的人不多。但我又感觉有一个不错的 > 邮件列表供大家交流就够了。 > > 大家有什么比较实际的想法和意见么? > > Qiang(James) > _______________________________________________ > 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 > > > > > -- > 姜源 > Yuan Jiang > http://blog.vetcafe.net > ------------------------------------------------------------------------ > > _______________________________________________ > China-pm mailing list > China-pm at pm.org > http://mail.pm.org/mailman/listinfo/china-pm From sleetdrop at gmail.com Thu Nov 13 22:49:22 2008 From: sleetdrop at gmail.com (Yuan Jiang) Date: Fri, 14 Nov 2008 14:49:22 +0800 Subject: [PerlChina] =?utf-8?b?bWFpbGluZyBsaXN0IOWSjCBwZXJsY2hpbmEg572R?= =?utf-8?b?56uZ?= In-Reply-To: <491D1D8E.6040506@gmail.com> References: <491BC1FF.30609@gmail.com> <491BD387.8000504@gmail.com> <491BE814.3030705@gmail.com> <491CCE76.3030300@gmail.com> <491CDA42.1040503@gmail.com> <74646cb40811132234n4d54684cqe5eb399f4a1c38fa@mail.gmail.com> <7e59d1bb0811132237m2a75d12cv64dd61def3bfb587@mail.gmail.com> <491D1D8E.6040506@gmail.com> Message-ID: <7e59d1bb0811132249g4fd32e26kcf12a832c10b9f60@mail.gmail.com> Qiang是组织者,而且长得帅,他说怎么着就怎么着吧。 反正混山头的总得有个老大。 2008/11/14 huawei > 要不来个民主投票表决吧? > 同意搬迁or不同一搬迁 > Yuan Jiang 写道: > > > > 目前看googlegroup这个单词的好处就是让这个list突然活跃了一些。 > > > > 2008/11/14 Mike. G > > > > > 个人觉得没必要折腾。 > > 折腾越多。越麻烦。 > > > > 又要学习新的交流方式。多烦人? > > > > 更何况移到google group有什么好处? > > 最好列列。 > > > > > > > > 2008/11/14 Qiang (James) > > > > > > Fayland Lam wrote: > > > > well, I get 10 mails today. bunch of those some days ago. > > things like > > > > xxx at xxx.com has been removed from > > China-pm. > > > > > > but I don't know what can I do towards this. so I suggest > > those who can't reach china-pm at pm.org > > , use china-pm at googlegroups.com > > instead. > > > > > > 那些 email 是现在这个邮件组发不过去的地址,因为那些 email 已经 > > 不存在了 (email已经被系统从邮件列表里删除了) > > > > perlchina google group 的邮件组应该是我申请的,不过我要找到密 > > 码先 :) > > > > 关于移植到 google group 的问题,我想还是大家把现在这个邮件组的 > > 问题说一下,为什么要搬家,搬家后有什么好处,有什么坏处。比较过 > > 后再定夺。 > > > > 现在的 planet.perlchina.org 已经 > > 在公开测试中(fayland: nomas blog 地址写 错了,另外你能否把外表 > > 稍排一下版么?放上 perlchina 的 logo) > > > > 另外,我感觉 perlchina 的网址缺少一些用户间互动的东西(至少应 > > 该把新帖 子,新的 planet perlchina 的 blog 在主页显示,新 wiki > > 文章),论坛里分版 太多,交流的人不多。但我又感觉有一个不错的 > > 邮件列表供大家交流就够了。 > > > > 大家有什么比较实际的想法和意见么? > > > > Qiang(James) > > _______________________________________________ > > 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 > > > > > > > > > > -- > > 姜源 > > Yuan Jiang > > http://blog.vetcafe.net > > ------------------------------------------------------------------------ > > > > _______________________________________________ > > 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 > -- 姜源 Yuan Jiang http://blog.vetcafe.net -------------- next part -------------- An HTML attachment was scrubbed... URL: From truncatei at gmail.com Thu Nov 13 22:51:28 2008 From: truncatei at gmail.com (truncatei) Date: Fri, 14 Nov 2008 14:51:28 +0800 Subject: [PerlChina] =?utf-8?b?bWFpbGluZyBsaXN0IOWSjCBwZXJsY2hpbmEg572R?= =?utf-8?b?56uZ?= In-Reply-To: <7e59d1bb0811132249g4fd32e26kcf12a832c10b9f60@mail.gmail.com> References: <491BC1FF.30609@gmail.com> <491BD387.8000504@gmail.com> <491BE814.3030705@gmail.com> <491CCE76.3030300@gmail.com> <491CDA42.1040503@gmail.com> <74646cb40811132234n4d54684cqe5eb399f4a1c38fa@mail.gmail.com> <7e59d1bb0811132237m2a75d12cv64dd61def3bfb587@mail.gmail.com> <491D1D8E.6040506@gmail.com> <7e59d1bb0811132249g4fd32e26kcf12a832c10b9f60@mail.gmail.com> Message-ID: 呵呵 这个理由比较充分 2008/11/14 Yuan Jiang > > Qiang是组织者,而且长得帅,他说怎么着就怎么着吧。 > > 反正混山头的总得有个老大。 > > 2008/11/14 huawei > > 要不来个民主投票表决吧? >> 同意搬迁or不同一搬迁 >> Yuan Jiang 写道: >> > >> > 目前看googlegroup这个单词的好处就是让这个list突然活跃了一些。 >> > >> > 2008/11/14 Mike. G > >> > >> > 个人觉得没必要折腾。 >> > 折腾越多。越麻烦。 >> > >> > 又要学习新的交流方式。多烦人? >> > >> > 更何况移到google group有什么好处? >> > 最好列列。 >> > >> > >> > >> > 2008/11/14 Qiang (James) > > > >> > >> > Fayland Lam wrote: >> > >> > well, I get 10 mails today. bunch of those some days ago. >> > things like >> > >> > xxx at xxx.com has been removed from >> > China-pm. >> > >> > >> > but I don't know what can I do towards this. so I suggest >> > those who can't reach china-pm at pm.org >> > , use china-pm at googlegroups.com >> > instead. >> > >> > >> > 那些 email 是现在这个邮件组发不过去的地址,因为那些 email 已经 >> > 不存在了 (email已经被系统从邮件列表里删除了) >> > >> > perlchina google group 的邮件组应该是我申请的,不过我要找到密 >> > 码先 :) >> > >> > 关于移植到 google group 的问题,我想还是大家把现在这个邮件组的 >> > 问题说一下,为什么要搬家,搬家后有什么好处,有什么坏处。比较过 >> > 后再定夺。 >> > >> > 现在的 planet.perlchina.org 已经 >> > 在公开测试中(fayland: nomas blog 地址写 错了,另外你能否把外表 >> > 稍排一下版么?放上 perlchina 的 logo) >> > >> > 另外,我感觉 perlchina 的网址缺少一些用户间互动的东西(至少应 >> > 该把新帖 子,新的 planet perlchina 的 blog 在主页显示,新 wiki >> > 文章),论坛里分版 太多,交流的人不多。但我又感觉有一个不错的 >> > 邮件列表供大家交流就够了。 >> > >> > 大家有什么比较实际的想法和意见么? >> > >> > Qiang(James) >> > _______________________________________________ >> > 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 >> > >> > >> > >> > >> > -- >> > 姜源 >> > Yuan Jiang >> > http://blog.vetcafe.net >> > ------------------------------------------------------------------------ >> > >> > _______________________________________________ >> > 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 >> > > > > -- > 姜源 > Yuan Jiang > http://blog.vetcafe.net > > _______________________________________________ > 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: From acmilan.baresi at gmail.com Thu Nov 13 22:59:55 2008 From: acmilan.baresi at gmail.com (Baresi) Date: Fri, 14 Nov 2008 14:59:55 +0800 Subject: [PerlChina] =?gb2312?b?bWFpbGluZyBsaXN0ILrNIHBlcmxjaGluYSDN+NW+?= In-Reply-To: <491D1D8E.6040506@gmail.com> References: <491BC1FF.30609@gmail.com> <491BD387.8000504@gmail.com> <491BE814.3030705@gmail.com> <491CCE76.3030300@gmail.com> <491CDA42.1040503@gmail.com> <74646cb40811132234n4d54684cqe5eb399f4a1c38fa@mail.gmail.com> <7e59d1bb0811132237m2a75d12cv64dd61def3bfb587@mail.gmail.com> <491D1D8E.6040506@gmail.com> Message-ID: <8ebdea6c0811132259t218ad648ta1be63e17674c83a@mail.gmail.com> 我投弃权,搬不搬目前我觉得无所谓。 2008/11/14 huawei : > 要不来个民主投票表决吧? > 同意搬迁or不同一搬迁 -- 凡事包容,凡事相信,凡事盼望,凡事忍耐。 From fayland at gmail.com Fri Nov 14 00:12:40 2008 From: fayland at gmail.com (Fayland Lam) Date: Fri, 14 Nov 2008 16:12:40 +0800 Subject: [PerlChina] =?utf-8?b?bWFpbGluZyBsaXN0IOWSjCBwZXJsY2hpbmEg572R?= =?utf-8?b?56uZ?= In-Reply-To: <8ebdea6c0811132259t218ad648ta1be63e17674c83a@mail.gmail.com> References: <491BC1FF.30609@gmail.com> <491BD387.8000504@gmail.com> <491BE814.3030705@gmail.com> <491CCE76.3030300@gmail.com> <491CDA42.1040503@gmail.com> <74646cb40811132234n4d54684cqe5eb399f4a1c38fa@mail.gmail.com> <7e59d1bb0811132237m2a75d12cv64dd61def3bfb587@mail.gmail.com> <491D1D8E.6040506@gmail.com> <8ebdea6c0811132259t218ad648ta1be63e17674c83a@mail.gmail.com> Message-ID: <491D32F8.9040901@gmail.com> Baresi wrote: > 我投弃权,搬不搬目前我觉得无所谓。 > > 2008/11/14 huawei : > >> 要不来个民主投票表决吧? >> 同意搬迁or不同一搬迁 >> > > > > OK leave it alone. we stay here, not go anywhere. Thanks. -- Fayland Lam // http://www.fayland.org/ Foorum based on Catalyst // http://www.foorumbbs.com/ From icefishc at gmail.com Fri Nov 14 06:00:37 2008 From: icefishc at gmail.com (Don Qin) Date: Fri, 14 Nov 2008 22:00:37 +0800 Subject: [PerlChina] =?gb2312?b?bWFpbGluZyBsaXN0ILrNIHBlcmxjaGluYSDN+NW+?= In-Reply-To: <491CDA42.1040503@gmail.com> References: <491BC1FF.30609@gmail.com> <491BD387.8000504@gmail.com> <491BE814.3030705@gmail.com> <491CCE76.3030300@gmail.com> <491CDA42.1040503@gmail.com> Message-ID: 也许 用google group能让更多的人加入进来。 可以咨询一下Python的group, 看看他们移到group上之后有什么好处。 -------------- next part -------------- An HTML attachment was scrubbed... URL: From cnhacktnt at gmail.com Fri Nov 14 06:09:04 2008 From: cnhacktnt at gmail.com (cnhack TNT) Date: Fri, 14 Nov 2008 22:09:04 +0800 Subject: [PerlChina] =?gb2312?b?bWFpbGluZyBsaXN0ILrNIHBlcmxjaGluYSDN+NW+?= In-Reply-To: References: <491BC1FF.30609@gmail.com> <491BD387.8000504@gmail.com> <491BE814.3030705@gmail.com> <491CCE76.3030300@gmail.com> <491CDA42.1040503@gmail.com> Message-ID: 用 google group 的好处是,不用 email 也能参与讨论,此外,google group 的速度和功能都还可以,各方面比较稳定 但是如果真要转,还是事先在现在这个列表里征求一下大家的意见好了。 其实要是转到 google group 的话,手续也不麻烦,点个链接就好了嘛 :-) 2008/11/14 Don Qin > 也许 用google group能让更多的人加入进来。 > 可以咨询一下Python的group, 看看他们移到group上之后有什么好处。 > > _______________________________________________ > 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: From tigerpeng2001 at yahoo.com Fri Nov 14 19:05:35 2008 From: tigerpeng2001 at yahoo.com (tiger peng) Date: Fri, 14 Nov 2008 19:05:35 -0800 (PST) Subject: [PerlChina] perl shell in activeperl References: <149432.40910.qm@web58703.mail.re1.yahoo.com> <73ddeb6c0811132138n287906a1j99c1ba561757969e@mail.gmail.com> Message-ID: <246984.60556.qm@web58704.mail.re1.yahoo.com> Thanks. It works. I added user environment variable "PERL_RL" with value "o=0" to my computer. Both dbish and CPAN shell look clean now. ________________________________ From: Adriano Ferreira To: china-pm at pm.org Sent: Thursday, November 13, 2008 11:38:40 PM Subject: Re: [PerlChina] perl shell in activeperl 2008/11/13 tiger peng : > Hello, > > I am new to activeperl. Today, I installed DBI::Shell and played with dbish > and ran into problem: the echoed input seems being wrapped by escaping > characters. For example, when I entered "dev" the screen show > "←[1md←[0m←[1me←[0m←[1mv←[0m". Could anyone tell me how to get a clean > screen? I think that's because the Perl terminal is trying to use ornaments (you're seen ANSI escapes which are used to change the color and brightness of the text and to control the terminal). But cmd.exe does not provide an ANSI terminal. As DBI::Shell uses Term::ReadLine, I think you can disable that by defining an environment variable PERL_RL with the value > set PERL_RL= o=0 as explained here: http://search.cpan.org/perldoc?Term::ReadLine#ENVIRONMENT Maybe there is a more reasonable way to do it by adding some lines to the configuration file of DBI::Shell, but that should at least work. Regards, Adriano > Thanks, > > Tiger, > > _______________________________________________ > 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 -------------- next part -------------- An HTML attachment was scrubbed... URL: From barretz at gmail.com Sun Nov 16 04:04:42 2008 From: barretz at gmail.com (Barret) Date: Sun, 16 Nov 2008 20:04:42 +0800 Subject: [PerlChina] =?utf-8?b?5pyJ5rKh5pyJ5by55rCU55CD55qE5qih5Z2X77yf?= Message-ID: <3629857d0811160404v17c1c5echcb0e62934d92e13c@mail.gmail.com> 就是在 windows xp/2000 下弹气球提示的模块,想平常用这个来提示一些网站和某些数据的更新……perl hacks 里头有 mac 的例子,好像找不到适用 win 的。 -- Use Google Gmail! Fred Allen - "An associate producer is the only guy in Hollywood who will associate with a producer." From bi.ken.lam at gmail.com Sun Nov 16 07:51:09 2008 From: bi.ken.lam at gmail.com (Ken Lam) Date: Sun, 16 Nov 2008 23:51:09 +0800 Subject: [PerlChina] test again Message-ID: <4920416D.5080909@gmail.com> 测试一下。 From freeespeech at gmail.com Sun Nov 16 08:25:32 2008 From: freeespeech at gmail.com (owen nirvana) Date: Mon, 17 Nov 2008 00:25:32 +0800 Subject: [PerlChina] =?gb2312?b?cGVybNT1w7S2wcihzsS8/rvy1d/Ct762ss7K/Q==?= Message-ID: 我用<>总是不得要领, my ($file) = @_,取到的总是文件行数,如果是@file则是文件内容 但是 @_不应该是参数列表吗,为什么不是 filename呢, 如果是输入路径的话,@_甚至 == 0, 但是我很希望能够直接在参数里得到路径名,然后批量打开某些类型的文件, 还请各位指教 还有一个问题,是关于提取数据的 2222 eewweasdds,asdasd.sadsadasdas ddasdddddddddddddddddddda ddddddddddddddddddddddddddd 2821 easdddddddddddddddddddddddd 2192 288888888888888888888ass0a-das. as;dddsaddaa0---------22222222 诸如此类,左边很好办,可是右边并不限于单行,我该如何把这样的数据提取为 name title的格式存到数据表里呢 gtalk:freeespeech at gmail.com From truncatei at gmail.com Sun Nov 16 08:30:22 2008 From: truncatei at gmail.com (truncatei) Date: Mon, 17 Nov 2008 00:30:22 +0800 Subject: [PerlChina] =?utf-8?b?cGVybOaAjuS5iOivu+WPluaWh+S7tuaIluiAhQ==?= =?utf-8?b?6Lev5b6E5Y+C5pWw?= In-Reply-To: References: Message-ID: <> 是用来快速读取参数提供的文件的内容或者data块定义的数据 用readdir吧 2008/11/17 owen nirvana > 我用<>总是不得要领, > > my ($file) = @_,取到的总是文件行数,如果是@file则是文件内容 > 但是 @_不应该是参数列表吗,为什么不是 filename呢, 如果是输入路径的话,@_甚至 == 0, > > 但是我很希望能够直接在参数里得到路径名,然后批量打开某些类型的文件, 还请各位指教 > > > 还有一个问题,是关于提取数据的 > > 2222 eewweasdds,asdasd.sadsadasdas > ddasdddddddddddddddddddda > ddddddddddddddddddddddddddd > 2821 easdddddddddddddddddddddddd > 2192 288888888888888888888ass0a-das. > as;dddsaddaa0---------22222222 > > 诸如此类,左边很好办,可是右边并不限于单行,我该如何把这样的数据提取为 name title的格式存到数据表里呢 > gtalk:freeespeech at gmail.com > _______________________________________________ > 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: From alaboszhang at gmail.com Sun Nov 16 16:46:45 2008 From: alaboszhang at gmail.com (=?utf-8?B?5byg5pmT5Lqu?=) Date: Mon, 17 Nov 2008 08:46:45 +0800 Subject: [PerlChina] test again References: <4920416D.5080909@gmail.com> Message-ID: <016d01c9484d$f8f04f70$2800a8c0@aj> 我不能发邮件到这里. ----- Original Message ----- From: "Ken Lam" To: Sent: Sunday, November 16, 2008 11:51 PM Subject: [PerlChina] test again > 测试一下。 > > _______________________________________________ > China-pm mailing list > China-pm at pm.org > http://mail.pm.org/mailman/listinfo/china-pm From bi.ken.lam at gmail.com Sun Nov 16 17:10:13 2008 From: bi.ken.lam at gmail.com (Ken Lam) Date: Mon, 17 Nov 2008 09:10:13 +0800 Subject: [PerlChina] test again In-Reply-To: <016d01c9484d$f8f04f70$2800a8c0@aj> References: <4920416D.5080909@gmail.com> <016d01c9484d$f8f04f70$2800a8c0@aj> Message-ID: <4920C475.10905@gmail.com> 我也是,一直在努力地尝试。 张晓亮 wrote: > 我不能发邮件到这里. > > > > > ----- Original Message ----- > From: "Ken Lam" > To: > Sent: Sunday, November 16, 2008 11:51 PM > Subject: [PerlChina] test again > > > >> 测试一下。 >> >> From alaboszhang at gmail.com Sun Nov 16 17:58:12 2008 From: alaboszhang at gmail.com (=?utf-8?B?5byg5pmT5Lqu?=) Date: Mon, 17 Nov 2008 09:58:12 +0800 Subject: [PerlChina] test again References: <4920416D.5080909@gmail.com> <016d01c9484d$f8f04f70$2800a8c0@aj> <4920C475.10905@gmail.com> Message-ID: <019601c94857$f3eb79a0$2800a8c0@aj> 今天又可以了. 上次又不行. 换成GOOGLE GROUP 也不错. 比这个稳定些 ----- Original Message ----- From: "Ken Lam" To: Sent: Monday, November 17, 2008 9:10 AM Subject: Re: [PerlChina] test again > 我也是,一直在努力地尝试。 > > 张晓亮 wrote: >> 我不能发邮件到这里. >> >> >> >> >> ----- Original Message ----- >> From: "Ken Lam" >> To: >> Sent: Sunday, November 16, 2008 11:51 PM >> Subject: [PerlChina] test again >> >> >> >>> 测试一下。 >>> >>> > > _______________________________________________ > China-pm mailing list > China-pm at pm.org > http://mail.pm.org/mailman/listinfo/china-pm From alaboszhang at gmail.com Sun Nov 16 17:58:14 2008 From: alaboszhang at gmail.com (=?utf-8?B?5byg5pmT5Lqu?=) Date: Mon, 17 Nov 2008 09:58:14 +0800 Subject: [PerlChina] test again References: <4920416D.5080909@gmail.com> <016d01c9484d$f8f04f70$2800a8c0@aj> <4920C475.10905@gmail.com> Message-ID: <019701c94857$f6f73300$2800a8c0@aj> 今天又可以了. 上次又不行. 换成GOOGLE GROUP 也不错. 比这个稳定些 ----- Original Message ----- From: "Ken Lam" To: Sent: Monday, November 17, 2008 9:10 AM Subject: Re: [PerlChina] test again > 我也是,一直在努力地尝试。 > > 张晓亮 wrote: >> 我不能发邮件到这里. >> >> >> >> >> ----- Original Message ----- >> From: "Ken Lam" >> To: >> Sent: Sunday, November 16, 2008 11:51 PM >> Subject: [PerlChina] test again >> >> >> >>> 测试一下。 >>> >>> > > _______________________________________________ > China-pm mailing list > China-pm at pm.org > http://mail.pm.org/mailman/listinfo/china-pm From kangliang1982 at gmail.com Sun Nov 16 18:25:13 2008 From: kangliang1982 at gmail.com (=?GB2312?B?wcG/tQ==?=) Date: Mon, 17 Nov 2008 10:25:13 +0800 Subject: [PerlChina] =?gb2312?b?cGVybNT1w7S2wcihzsS8/rvy1d/Ct762ss7K/Q==?= In-Reply-To: References: Message-ID: <72a481210811161825x6e78eb8q43d079a2d7489edf@mail.gmail.com> 1. @ARGV是默认参数列表 2. 使用正则表达式 2008/11/17 owen nirvana > 我用<>总是不得要领, > > my ($file) = @_,取到的总是文件行数,如果是@file则是文件内容 > 但是 @_不应该是参数列表吗,为什么不是 filename呢, 如果是输入路径的话,@_甚至 == 0, > > 但是我很希望能够直接在参数里得到路径名,然后批量打开某些类型的文件, 还请各位指教 > > > 还有一个问题,是关于提取数据的 > > 2222 eewweasdds,asdasd.sadsadasdas > ddasdddddddddddddddddddda > ddddddddddddddddddddddddddd > 2821 easdddddddddddddddddddddddd > 2192 288888888888888888888ass0a-das. > as;dddsaddaa0---------22222222 > > 诸如此类,左边很好办,可是右边并不限于单行,我该如何把这样的数据提取为 name title的格式存到数据表里呢 > gtalk:freeespeech at gmail.com > _______________________________________________ > 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: From lamp.purl at gmail.com Sun Nov 16 18:26:43 2008 From: lamp.purl at gmail.com (purl lamp) Date: Mon, 17 Nov 2008 10:26:43 +0800 Subject: [PerlChina] =?gb2312?b?cGVybNT1w7S2wcihzsS8/rvy1d/Ct762ss7K/Q==?= In-Reply-To: References: Message-ID: <367185060811161826j1ae56e02qc782369c78979272@mail.gmail.com> 在这里使用 <> 得到的是文件列表所有内容的拼接,使用 @ARGV 才是更加上游传进来的文件名列表。 第二个问题可以用正则替换,把开头不是的数字的东西归并到上一行。 2008/11/17 truncatei > <> 是用来快速读取参数提供的文件的内容或者data块定义的数据 > 用readdir吧 > > 2008/11/17 owen nirvana > > 我用<>总是不得要领, >> >> my ($file) = @_,取到的总是文件行数,如果是@file则是文件内容 >> 但是 @_不应该是参数列表吗,为什么不是 filename呢, 如果是输入路径的话,@_甚至 == 0, >> >> 但是我很希望能够直接在参数里得到路径名,然后批量打开某些类型的文件, 还请各位指教 >> >> >> 还有一个问题,是关于提取数据的 >> >> 2222 eewweasdds,asdasd.sadsadasdas >> ddasdddddddddddddddddddda >> ddddddddddddddddddddddddddd >> 2821 easdddddddddddddddddddddddd >> 2192 288888888888888888888ass0a-das. >> as;dddsaddaa0---------22222222 >> >> 诸如此类,左边很好办,可是右边并不限于单行,我该如何把这样的数据提取为 name title的格式存到数据表里呢 >> gtalk:freeespeech at gmail.com >> _______________________________________________ >> 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 > -------------- next part -------------- An HTML attachment was scrubbed... URL: From robcheung at gmail.com Sun Nov 16 23:33:28 2008 From: robcheung at gmail.com (rob) Date: Mon, 17 Nov 2008 15:33:28 +0800 Subject: [PerlChina] =?gb2312?b?09DDu9PQta/G+MfytcTEo7/po78=?= In-Reply-To: <3629857d0811160404v17c1c5echcb0e62934d92e13c@mail.gmail.com> References: <3629857d0811160404v17c1c5echcb0e62934d92e13c@mail.gmail.com> Message-ID: <7ca5b4840811162333v2a05024bocb3387a707e1af9e@mail.gmail.com> # http://search.cpan.org/~robertmay/Win32-GUI-1.06/ use Win32::GUI; 2008/11/16 Barret : > 就是在 windows xp/2000 下弹气球提示的模块,想平常用这个来提示一些网站和某些数据的更新……perl hacks 里头有 > mac 的例子,好像找不到适用 win 的。 > > -- > Use Google Gmail! > Fred Allen - "An associate producer is the only guy in Hollywood who > will associate with a producer." > _______________________________________________ > China-pm mailing list > China-pm at pm.org > http://mail.pm.org/mailman/listinfo/china-pm From moxnet at gmail.com Mon Nov 17 00:15:49 2008 From: moxnet at gmail.com (Felix New) Date: Mon, 17 Nov 2008 16:15:49 +0800 Subject: [PerlChina] =?utf-8?b?cGVybOaAjuS5iOivu+WPluaWh+S7tuaIluiAhQ==?= =?utf-8?b?6Lev5b6E5Y+C5pWw?= In-Reply-To: <367185060811161826j1ae56e02qc782369c78979272@mail.gmail.com> References: <367185060811161826j1ae56e02qc782369c78979272@mail.gmail.com> Message-ID: <976fc3f80811170015j20d38eb9k92766a272d7a0e87@mail.gmail.com> @ARGV是程序接收到的参数列表;@_是子函数(sub myfunc)接收到的参数列表. my ($file) = @_,取到的总是文件行数,如果是@file则是文件内容 你这样用是把@_做为scalar变量来用,这样取到的是数组的元素数量. 2008/11/17 purl lamp > 在这里使用 <> 得到的是文件列表所有内容的拼接,使用 @ARGV 才是更加上游传进来的文件名列表。 > > 第二个问题可以用正则替换,把开头不是的数字的东西归并到上一行。 > > 2008/11/17 truncatei > >> <> 是用来快速读取参数提供的文件的内容或者data块定义的数据 >> 用readdir吧 >> >> 2008/11/17 owen nirvana >> >> 我用<>总是不得要领, >>> >>> my ($file) = @_,取到的总是文件行数,如果是@file则是文件内容 >>> 但是 @_不应该是参数列表吗,为什么不是 filename呢, 如果是输入路径的话,@_甚至 == 0, >>> >>> 但是我很希望能够直接在参数里得到路径名,然后批量打开某些类型的文件, 还请各位指教 >>> >>> >>> 还有一个问题,是关于提取数据的 >>> >>> 2222 eewweasdds,asdasd.sadsadasdas >>> ddasdddddddddddddddddddda >>> ddddddddddddddddddddddddddd >>> 2821 easdddddddddddddddddddddddd >>> 2192 288888888888888888888ass0a-das. >>> as;dddsaddaa0---------22222222 >>> >>> 诸如此类,左边很好办,可是右边并不限于单行,我该如何把这样的数据提取为 name title的格式存到数据表里呢 >>> gtalk:freeespeech at gmail.com >>> _______________________________________________ >>> 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 > -- Best regards. Felix New -------------- next part -------------- An HTML attachment was scrubbed... URL: From x2x4com at gmail.com Mon Nov 17 02:40:39 2008 From: x2x4com at gmail.com (x2x4) Date: Mon, 17 Nov 2008 18:40:39 +0800 Subject: [PerlChina] =?gb2312?b?cGVybNT1w7S2wcihzsS8/rvy1d/Ct762ss7K/Q==?= In-Reply-To: References: Message-ID: <8f4d2afc0811170240h53c2ed88g3712e92d3f6ec156@mail.gmail.com> my ($file) = @_ 提取第一个元素吧 my $file = @_ 才是标量环境 2008/11/17 owen nirvana : > 我用<>总是不得要领, > > my ($file) = @_,取到的总是文件行数,如果是@file则是文件内容 > 但是 @_不应该是参数列表吗,为什么不是 filename呢, 如果是输入路径的话,@_甚至 == 0, > > 但是我很希望能够直接在参数里得到路径名,然后批量打开某些类型的文件, 还请各位指教 > > > 还有一个问题,是关于提取数据的 > > 2222 eewweasdds,asdasd.sadsadasdas > ddasdddddddddddddddddddda > ddddddddddddddddddddddddddd > 2821 easdddddddddddddddddddddddd > 2192 288888888888888888888ass0a-das. > as;dddsaddaa0---------22222222 > > 诸如此类,左边很好办,可是右边并不限于单行,我该如何把这样的数据提取为 name title的格式存到数据表里呢 > gtalk:freeespeech at gmail.com > _______________________________________________ > China-pm mailing list > China-pm at pm.org > http://mail.pm.org/mailman/listinfo/china-pm From yonghua.peng at gmail.com Mon Nov 17 05:16:19 2008 From: yonghua.peng at gmail.com (J. Peng) Date: Mon, 17 Nov 2008 21:16:19 +0800 Subject: [PerlChina] test again In-Reply-To: <4920C475.10905@gmail.com> References: <4920416D.5080909@gmail.com> <016d01c9484d$f8f04f70$2800a8c0@aj> <4920C475.10905@gmail.com> Message-ID: <838104a80811170516n2b72075fq939be920cb1e267a@mail.gmail.com> 我的另一邮箱(gmx.net)也是不行,无奈换成gmail了,:-( 2008/11/17 Ken Lam : > 我也是,一直在努力地尝试。 > > 张晓亮 wrote: >> >> 我不能发邮件到这里. From freeespeech at gmail.com Mon Nov 17 05:36:43 2008 From: freeespeech at gmail.com (owen nirvana) Date: Mon, 17 Nov 2008 21:36:43 +0800 Subject: [PerlChina] China-pm Digest, Vol 43, Issue 21 In-Reply-To: References: Message-ID: 谢谢,问题是归到上一行这样的操作,我不知道如何用正则表达式完成,那不等于是让表达式再回溯吗 gtalk:freeespeech at gmail.com 2008/11/17 : > 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: test again (张晓亮) > 2. Re: test again (Ken Lam) > 3. Re: test again (张晓亮) > 4. Re: test again (张晓亮) > 5. Re: perl怎么读取文件或者路径参数 ( 亮康 ) > 6. Re: perl怎么读取文件或者路径参数 (purl lamp) > > > ---------------------------------------------------------------------- > > Message: 1 > Date: Mon, 17 Nov 2008 08:46:45 +0800 > From: 张晓亮 > Subject: Re: [PerlChina] test again > To: > Message-ID: <016d01c9484d$f8f04f70$2800a8c0 at aj> > Content-Type: text/plain; charset="utf-8" > > 我不能发邮件到这里. > > > > > ----- Original Message ----- > From: "Ken Lam" > To: > Sent: Sunday, November 16, 2008 11:51 PM > Subject: [PerlChina] test again > > >> 测试一下。 >> >> _______________________________________________ >> China-pm mailing list >> China-pm at pm.org >> http://mail.pm.org/mailman/listinfo/china-pm > > ------------------------------ > > Message: 2 > Date: Mon, 17 Nov 2008 09:10:13 +0800 > From: Ken Lam > Subject: Re: [PerlChina] test again > To: china-pm at pm.org > Message-ID: <4920C475.10905 at gmail.com> > Content-Type: text/plain; charset=UTF-8; format=flowed > > 我也是,一直在努力地尝试。 > > 张晓亮 wrote: >> 我不能发邮件到这里. >> >> >> >> >> ----- Original Message ----- >> From: "Ken Lam" >> To: >> Sent: Sunday, November 16, 2008 11:51 PM >> Subject: [PerlChina] test again >> >> >> >>> 测试一下。 >>> >>> > > > > ------------------------------ > > Message: 3 > Date: Mon, 17 Nov 2008 09:58:12 +0800 > From: 张晓亮 > Subject: Re: [PerlChina] test again > To: > Message-ID: <019601c94857$f3eb79a0$2800a8c0 at aj> > Content-Type: text/plain; charset="utf-8" > > 今天又可以了. 上次又不行. 换成GOOGLE GROUP 也不错. 比这个稳定些 > > > > > ----- Original Message ----- > From: "Ken Lam" > To: > Sent: Monday, November 17, 2008 9:10 AM > Subject: Re: [PerlChina] test again > > >> 我也是,一直在努力地尝试。 >> >> 张晓亮 wrote: >>> 我不能发邮件到这里. >>> >>> >>> >>> >>> ----- Original Message ----- >>> From: "Ken Lam" >>> To: >>> Sent: Sunday, November 16, 2008 11:51 PM >>> Subject: [PerlChina] test again >>> >>> >>> >>>> 测试一下。 >>>> >>>> >> >> _______________________________________________ >> China-pm mailing list >> China-pm at pm.org >> http://mail.pm.org/mailman/listinfo/china-pm > > ------------------------------ > > Message: 4 > Date: Mon, 17 Nov 2008 09:58:14 +0800 > From: 张晓亮 > Subject: Re: [PerlChina] test again > To: > Message-ID: <019701c94857$f6f73300$2800a8c0 at aj> > Content-Type: text/plain; charset="utf-8" > > 今天又可以了. 上次又不行. 换成GOOGLE GROUP 也不错. 比这个稳定些 > > > > > ----- Original Message ----- > From: "Ken Lam" > To: > Sent: Monday, November 17, 2008 9:10 AM > Subject: Re: [PerlChina] test again > > >> 我也是,一直在努力地尝试。 >> >> 张晓亮 wrote: >>> 我不能发邮件到这里. >>> >>> >>> >>> >>> ----- Original Message ----- >>> From: "Ken Lam" >>> To: >>> Sent: Sunday, November 16, 2008 11:51 PM >>> Subject: [PerlChina] test again >>> >>> >>> >>>> 测试一下。 >>>> >>>> >> >> _______________________________________________ >> China-pm mailing list >> China-pm at pm.org >> http://mail.pm.org/mailman/listinfo/china-pm > > ------------------------------ > > Message: 5 > Date: Mon, 17 Nov 2008 10:25:13 +0800 > From: " 亮康 " > Subject: Re: [PerlChina] perl怎么读取文件或者路径参数 > To: china-pm at pm.org > Message-ID: > <72a481210811161825x6e78eb8q43d079a2d7489edf at mail.gmail.com> > Content-Type: text/plain; charset="gb2312" > > 1. @ARGV是默认参数列表 > 2. 使用正则表达式 > > > > > 2008/11/17 owen nirvana > >> 我用<>总是不得要领, >> >> my ($file) = @_,取到的总是文件行数,如果是@file则是文件内容 >> 但是 @_不应该是参数列表吗,为什么不是 filename呢, 如果是输入路径的话,@_甚至 == 0, >> >> 但是我很希望能够直接在参数里得到路径名,然后批量打开某些类型的文件, 还请各位指教 >> >> >> 还有一个问题,是关于提取数据的 >> >> 2222 eewweasdds,asdasd.sadsadasdas >> ddasdddddddddddddddddddda >> ddddddddddddddddddddddddddd >> 2821 easdddddddddddddddddddddddd >> 2192 288888888888888888888ass0a-das. >> as;dddsaddaa0---------22222222 >> >> 诸如此类,左边很好办,可是右边并不限于单行,我该如何把这样的数据提取为 name title的格式存到数据表里呢 >> gtalk:freeespeech at gmail.com >> _______________________________________________ >> 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: > > ------------------------------ > > Message: 6 > Date: Mon, 17 Nov 2008 10:26:43 +0800 > From: "purl lamp" > Subject: Re: [PerlChina] perl怎么读取文件或者路径参数 > To: china-pm at pm.org > Message-ID: > <367185060811161826j1ae56e02qc782369c78979272 at mail.gmail.com> > Content-Type: text/plain; charset="gb2312" > > 在这里使用 <> 得到的是文件列表所有内容的拼接,使用 @ARGV 才是更加上游传进来的文件名列表。 > > 第二个问题可以用正则替换,把开头不是的数字的东西归并到上一行。 > > 2008/11/17 truncatei > >> <> 是用来快速读取参数提供的文件的内容或者data块定义的数据 >> 用readdir吧 >> >> 2008/11/17 owen nirvana >> >> 我用<>总是不得要领, >>> >>> my ($file) = @_,取到的总是文件行数,如果是@file则是文件内容 >>> 但是 @_不应该是参数列表吗,为什么不是 filename呢, 如果是输入路径的话,@_甚至 == 0, >>> >>> 但是我很希望能够直接在参数里得到路径名,然后批量打开某些类型的文件, 还请各位指教 >>> >>> >>> 还有一个问题,是关于提取数据的 >>> >>> 2222 eewweasdds,asdasd.sadsadasdas >>> ddasdddddddddddddddddddda >>> ddddddddddddddddddddddddddd >>> 2821 easdddddddddddddddddddddddd >>> 2192 288888888888888888888ass0a-das. >>> as;dddsaddaa0---------22222222 >>> >>> 诸如此类,左边很好办,可是右边并不限于单行,我该如何把这样的数据提取为 name title的格式存到数据表里呢 >>> gtalk:freeespeech at gmail.com >>> _______________________________________________ >>> 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 >> > -------------- next part -------------- > An HTML attachment was scrubbed... > URL: > > ------------------------------ > > _______________________________________________ > China-pm mailing list > China-pm at pm.org > http://mail.pm.org/mailman/listinfo/china-pm > > End of China-pm Digest, Vol 43, Issue 21 > **************************************** > From truncatei at gmail.com Mon Nov 17 06:01:40 2008 From: truncatei at gmail.com (truncatei) Date: Mon, 17 Nov 2008 22:01:40 +0800 Subject: [PerlChina] China-pm Digest, Vol 43, Issue 21 In-Reply-To: References: Message-ID: 2008/11/17 owen nirvana > 谢谢,问题是归到上一行这样的操作,我不知道如何用正则表达式完成,那不等于是让表达式再回溯吗 > gtalk:freeespeech at gmail.com > > > >> > >> > >> 还有一个问题,是关于提取数据的 > >> > >> 2222 eewweasdds,asdasd.sadsadasdas > >> ddasdddddddddddddddddddda > >> ddddddddddddddddddddddddddd > >> 2821 easdddddddddddddddddddddddd > >> 2192 288888888888888888888ass0a-das. > >> as;dddsaddaa0---------22222222 > >> > >> 诸如此类,左边很好办,可是右边并不限于单行,我该如何把这样的数据提取为 name title的格式存到数据表里呢 > > my ($name, $title); while (<>){ if (/^(\d+)\s+(.*)$) { if ($name) { // 保存上一个 save $name, $title // 下面开始处理一个新的 $name = ''; $title = ''; } $name = $1; $title .= $2; } elsif(/^\s+(.*)$/) { $title .= $1; } // save last one 好久不写了,上面的代码或许会有些错误,大概的流程整理出来了: 每次遇到数字就开始一条数据,否则视为向当前数据中添加title -- "老是呆在那里不好,我们随生活需要四处迁徙,多年以来的梦想,至今还未实现,压力堵塞了我们的耳朵,工作生涯到了尽头,还是一无所有,我们应该给后人留下点儿什么,教训是不会刻在纪念碑上的,光荣的命令和指引之手,也可请求,简单地改变一下角度就足够了" -------------- next part -------------- An HTML attachment was scrubbed... URL: From wanmyome at gmail.com Mon Nov 17 18:07:58 2008 From: wanmyome at gmail.com (Wan Chaowei) Date: Tue, 18 Nov 2008 10:07:58 +0800 Subject: [PerlChina] =?utf-8?b?RndkOiBwZXJsY2hpbmEub3Jn5Z+f5ZCN5Zyo6LCB?= =?utf-8?b?5omL6YeM77yM6bq754Om5YaN6K6+572u5LiA5LiL77yM5py65oi/SVA=?= =?utf-8?b?5YaN5qyh5pu05pS5?= Message-ID: <9ff89e80811171807w6bb6f042u92e5c6f21ce9551b@mail.gmail.com> 由于更换机房,bbs.perlchina.org的ip地址改变,域名在哪位兄弟手里,麻烦设置一下 新的ip地址是: 222.73.42.53 -------------- next part -------------- An HTML attachment was scrubbed... URL: From wang.zhiguo at neusoft.com Mon Nov 17 18:16:36 2008 From: wang.zhiguo at neusoft.com (=?utf-8?B?546L5rK75Zu9?=) Date: Tue, 18 Nov 2008 10:16:36 +0800 Subject: [PerlChina] =?utf-8?b?RndkOiBwZXJsY2hpbmEub3Jn5Z+f5ZCN5Zyo6LCB?= =?utf-8?b?5omL6YeM77yM6bq754Om5YaN6K6+572u5LiA5LiL77yM5py65oi/SVA=?= =?utf-8?b?5YaN5qyh5pu05pS5?= References: <9ff89e80811171807w6bb6f042u92e5c6f21ce9551b@mail.gmail.com> Message-ID: <005201c94923$af12fcf0$444179ca@LENOVOPC> 为啥不能事先协商好再更换IP地址呢? ----- Original Message ----- From: Wan Chaowei To: shijialee at gmail.com ; china-pm at pm.org Sent: Tuesday, November 18, 2008 10:07 AM Subject: [PerlChina] Fwd: perlchina.org域名在谁手里,麻烦再设置一下,机房IP再次更改 由于更换机房,bbs.perlchina.org的ip地址改变,域名在哪位兄弟手里,麻烦设置一下 新的ip地址是: 222.73.42.53 ------------------------------------------------------------------------------ _______________________________________________ China-pm mailing list China-pm at pm.org http://mail.pm.org/mailman/listinfo/china-pm ---------------------------------------------------------------------------------------------- Confidentiality Notice: The information contained in this e-mail and any accompanying attachment(s) is intended only for the use of the intended recipient and may be confidential and/or privileged of Neusoft Corporation, its subsidiaries and/or its affiliates. If any reader of this communication is not the intended recipient, unauthorized use, forwarding, printing, storing, disclosure or copying is strictly prohibited, and may be unlawful. If you have received this communication in error, please immediately notify the sender by return e-mail, and delete the original message and all copies from your system. Thank you. ----------------------------------------------------------------------------------------------- -------------- next part -------------- An HTML attachment was scrubbed... URL: From wanmyome at gmail.com Mon Nov 17 22:13:35 2008 From: wanmyome at gmail.com (Wan Chaowei) Date: Tue, 18 Nov 2008 14:13:35 +0800 Subject: [PerlChina] =?utf-8?b?RndkOiBwZXJsY2hpbmEub3Jn5Z+f5ZCN5Zyo6LCB?= =?utf-8?b?5omL6YeM77yM6bq754Om5YaN6K6+572u5LiA5LiL77yM5py65oi/SVA=?= =?utf-8?b?5YaN5qyh5pu05pS5?= In-Reply-To: <005201c94923$af12fcf0$444179ca@LENOVOPC> References: <9ff89e80811171807w6bb6f042u92e5c6f21ce9551b@mail.gmail.com> <005201c94923$af12fcf0$444179ca@LENOVOPC> Message-ID: <9ff89e80811172213k1aa2ab23t616cc17bd463c9f0@mail.gmail.com> 王兄,更换ip前我也没有得到任何通知的 2008/11/18 王治国 > 为啥不能事先协商好再更换IP地址呢? > > ----- Original Message ----- > *From:* Wan Chaowei > *To:* shijialee at gmail.com ; china-pm at pm.org > *Sent:* Tuesday, November 18, 2008 10:07 AM > *Subject:* [PerlChina] Fwd: perlchina.org域名在谁手里,麻烦再设置一下,机房IP再次更改 > > 由于更换机房,bbs.perlchina.org的ip地址改变,域名在哪位兄弟手里,麻烦设置一下 > 新的ip地址是: 222.73.42.53 > > ------------------------------ > > _______________________________________________ > China-pm mailing list > China-pm at pm.org > http://mail.pm.org/mailman/listinfo/china-pm > > > ------------------------------ > *Confidentiality Notice:* The information contained in this e-mail and any > accompanying attachment(s) is intended only for the use of the intended > recipient and may be confidential and/or privileged of Neusoft Corporation, > its subsidiaries and/or its affiliates. If any reader of this communication > is not the intended recipient, unauthorized use, forwarding, printing, > storing, disclosure or copying is strictly prohibited, and may be unlawful. > If you have received this communication in error, please immediately notify > the sender by return e-mail, and delete the original message and all copies > from your system. Thank you. > ------------------------------ > > _______________________________________________ > China-pm mailing list > China-pm at pm.org > http://mail.pm.org/mailman/listinfo/china-pm > -- gegewan的博客技术含量高,写程序的兄弟不要错过 http://gegewan.org -------------- next part -------------- An HTML attachment was scrubbed... URL: From redicaps at gmail.com Tue Nov 18 04:49:47 2008 From: redicaps at gmail.com (xu zhou) Date: Tue, 18 Nov 2008 20:49:47 +0800 Subject: [PerlChina] catalyst problem Message-ID: <60a4b8a0811180449t56e9e851pc2cd9707d6e2448e@mail.gmail.com> 粗略看了下catalyst 没搞明白Model是如何传递数据给controller的 我原以为是这样 package MyApp::Model::Trial; sub new{ my $pack = shift; my $self = bless { foo => 'default value foo', },$pack; return $self; } sub get{ return shift->{'foo'}; } 1 然后通过在controller里面调用 my $a = $c->model('Trial::get'); 来获得这个model的对象从而调用model的数据 尝试过发现不是如此 哪位高手讲讲这个 thx From shijialee at gmail.com Tue Nov 18 08:47:15 2008 From: shijialee at gmail.com (Qiang (James)) Date: Wed, 19 Nov 2008 00:47:15 +0800 Subject: [PerlChina] catalyst problem In-Reply-To: <60a4b8a0811180449t56e9e851pc2cd9707d6e2448e@mail.gmail.com> References: <60a4b8a0811180449t56e9e851pc2cd9707d6e2448e@mail.gmail.com> Message-ID: <4922F193.60604@gmail.com> xu zhou wrote: > 粗略看了下catalyst > 没搞明白Model是如何传递数据给controller的 > > 我原以为是这样 > package MyApp::Model::Trial; > sub new{ > my $pack = shift; > my $self = bless { > foo => 'default value foo', > },$pack; > return $self; > } > > sub get{ > return shift->{'foo'}; > } > 1 > > 然后通过在controller里面调用 > my $a = $c->model('Trial::get'); > 来获得这个model的对象从而调用model的数据 我没用 Catalyst(我用 CGI::Application). 但记得Catalyst 里 Model 的调用方 法应该是 $c->model('Trial')->method. 这里catalyst 每次调用 $c->model('Trial') 都会得到一个 MyApp::Model::Trial 的对象,所以接着你就 可以调用 ->get 。 说的不对的地方请熟悉 catalyst 的朋友指出.. Qiang(James) From shijialee at gmail.com Wed Nov 19 18:44:21 2008 From: shijialee at gmail.com (Qiang (James)) Date: Thu, 20 Nov 2008 10:44:21 +0800 Subject: [PerlChina] =?utf-8?b?5Lik5pys5LmmIFBlcmzlrp7kvovnsr7op6Mg5ZKM?= =?utf-8?b?IOS7o+eggeS5i+e+jiDmoLfnq6A=?= Message-ID: <4924CF05.90102@gmail.com> 最近 机械工业出版社 向 PerlChina 提供了两本新书的样章,有 * Perl实例精解 (Perl By Example 2007 12 月出版) 提供的样章有 Perl快速入 门,面向对象的Perl,与系统交互 * Beatiful Code ( 代码之美 ),目前在 PerlChina 论坛上做一个书评赠书活动 样章和活动内容请看: http://wiki.perlchina.org/index.php/Perl_By_Example http://wiki.perlchina.org/index.php/Beatiful_Code 感兴趣的朋友可以看看。 Qiang(James) From truncatei at gmail.com Wed Nov 19 18:47:59 2008 From: truncatei at gmail.com (truncatei) Date: Thu, 20 Nov 2008 10:47:59 +0800 Subject: [PerlChina] =?utf-8?b?5Lik5pys5LmmIFBlcmzlrp7kvovnsr7op6Mg5ZKM?= =?utf-8?b?IOS7o+eggeS5i+e+jiDmoLfnq6A=?= In-Reply-To: <4924CF05.90102@gmail.com> References: <4924CF05.90102@gmail.com> Message-ID: 上市了通知我们啊,又可以买新书了 [?] 2008/11/20 Qiang (James) > 最近 机械工业出版社 向 PerlChina 提供了两本新书的样章,有 > > * Perl实例精解 (Perl By Example 2007 12 月出版) 提供的样章有 Perl快速入 门,面向对象的Perl,与系统交互 > > * Beatiful Code ( 代码之美 ),目前在 PerlChina 论坛上做一个书评赠书活动 > > 样章和活动内容请看: > > http://wiki.perlchina.org/index.php/Perl_By_Example > http://wiki.perlchina.org/index.php/Beatiful_Code > > 感兴趣的朋友可以看看。 > > Qiang(James) > _______________________________________________ > 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: -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: image/gif Size: 96 bytes Desc: not available URL: From shijialee at gmail.com Wed Nov 19 18:54:28 2008 From: shijialee at gmail.com (Qiang (James)) Date: Thu, 20 Nov 2008 10:54:28 +0800 Subject: [PerlChina] =?utf-8?b?5Lik5pys5LmmIFBlcmzlrp7kvovnsr7op6Mg5ZKM?= =?utf-8?b?IOS7o+eggeS5i+e+jiDmoLfnq6A=?= In-Reply-To: References: <4924CF05.90102@gmail.com> Message-ID: <4924D164.1070002@gmail.com> truncatei wrote: > 上市了通知我们啊,又可以买新书了 都已经上市了 :) http://www.china-pub.com/129897 Qiang(James) > > 2008/11/20 Qiang (James) > > > 最近 机械工业出版社 向 PerlChina 提供了两本新书的样章,有 > > * Perl实例精解 (Perl By Example 2007 12 月出版) 提供的样章有 Perl快 > 速入 门,面向对象的Perl,与系统交互 > > * Beatiful Code ( 代码之美 ),目前在 PerlChina 论坛上做一个书评赠书活动 > > 样章和活动内容请看: > > http://wiki.perlchina.org/index.php/Perl_By_Example > http://wiki.perlchina.org/index.php/Beatiful_Code > > 感兴趣的朋友可以看看。 > > Qiang(James) > _______________________________________________ > 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 fire9dingh at gmail.com Wed Nov 19 20:23:22 2008 From: fire9dingh at gmail.com (fire9) Date: Thu, 20 Nov 2008 12:23:22 +0800 Subject: [PerlChina] =?utf-8?b?5Lik5pys5LmmIFBlcmzlrp7kvovnsr7op6Mg5ZKM?= =?utf-8?b?IOS7o+eggeS5i+e+jiDmoLfnq6A=?= In-Reply-To: References: <4924CF05.90102@gmail.com> Message-ID: <4924E63A.6040508@gmail.com> truncatei wrote: > 上市了通知我们啊,又可以买新书了 > > 2008/11/20 Qiang (James) > > > 最近 机械工业出版社 向 PerlChina 提供了两本新书的样章,有 > > * Perl实例精解 (Perl By Example 2007 12 月出版) 提供的样章有 Perl > 快速入门,面向对象的Perl,与系统交互 > > * Beatiful Code ( 代码之美 ),目前在 PerlChina 论坛上做一个书评赠 > 书活动 > > 样章和活动内容请看: > > http://wiki.perlchina.org/index.php/Perl_By_Example > http://wiki.perlchina.org/index.php/Beatiful_Code > > 感兴趣的朋友可以看看。 > > Qiang(James) > _______________________________________________ > 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 freeespeech at gmail.com Fri Nov 21 20:49:56 2008 From: freeespeech at gmail.com (owen nirvana) Date: Sat, 22 Nov 2008 12:49:56 +0800 Subject: [PerlChina] =?gb2312?b?tKuyzrXE0ru149LJzso=?= Message-ID: 传递的参数是数组或者哈希的时候,怎么获取相关参数 比如 func ( @arr)或者func(%hash) 更复杂一点的 func($param, @arr) func(@arr,%hash) 好像$_[0]肯定失灵了 gtalk:freeespeech at gmail.com From bruce1914 at gmail.com Fri Nov 21 20:55:11 2008 From: bruce1914 at gmail.com (bruce) Date: Sat, 22 Nov 2008 12:55:11 +0800 Subject: [PerlChina] =?gb2312?b?tKuyzrXE0ru149LJzso=?= In-Reply-To: References: Message-ID: <9D0C9F2F2A7948C2B0619A76AFC67925@brucelaptop> 这种情况我一般用引用来解决,有点类似于C的指针。 my @arr ; my %hash; $point_hash = \%hash ; $point_arr = \@arr ; func($point_arr) ; func2($point_hash) ; sub func { my ($point_arr) = @_ ; my @array_in = @{$point_arr} ; ... } sub func2 { my ($point_hash) = @_ ; my %hash_in = %{$point_hash} ; .... } > -----Original Message----- > From: china-pm-bounces+bruce1914=gmail.com at pm.org > [mailto:china-pm-bounces+bruce1914=gmail.com at pm.org] On Behalf Of owen > nirvana > Sent: 2008年11月22日 12:50 > To: china-pm at pm.org > Subject: [PerlChina] 传参的一点疑问 > > 传递的参数是数组或者哈希的时候,怎么获取相关参数 > > 比如 func ( @arr)或者func(%hash) > 更复杂一点的 > func($param, @arr) > func(@arr,%hash) > 好像$_[0]肯定失灵了 > > gtalk:freeespeech at gmail.com > _______________________________________________ > China-pm mailing list > China-pm at pm.org > http://mail.pm.org/mailman/listinfo/china-pm From agentzh at gmail.com Fri Nov 21 23:19:49 2008 From: agentzh at gmail.com (agentzh) Date: Sat, 22 Nov 2008 15:19:49 +0800 Subject: [PerlChina] =?gb2312?b?tKuyzrXE0ru149LJzso=?= In-Reply-To: References: Message-ID: 2008/11/22 owen nirvana : > 传递的参数是数组或者哈希的时候,怎么获取相关参数 > 以数组为参时: sub func { my @b = @_; # ... } my @a = (1,2,3); func(@a); 哈希为参时: sub func { my %b = @_; } my %a = (cat => 1, dog => 2); func(%a); 这里的行为是哈希和数组会自动平展成 @_ 中的离散元素 :) 如果想避免,可以使用数组和哈希的引用,例如: sub func { my @b = @{ $_[0] } # ... } my @a = (1,2,3); func(\@a); # OR func([1,2,3]) 而对于哈希: my func { my %b = %{ $_[0] }; # ... } my %a = (cat => 1, dog => 2); func(\%a); # OR func( { cat => 1, dog => 2 } ); 参数是否 slurpy 的行为在 Perl 6 中可以更优雅地控制。。。呵呵 Hope this helps :) -agentzh -------------- next part -------------- An HTML attachment was scrubbed... URL: From freeespeech at gmail.com Sat Nov 22 20:00:30 2008 From: freeespeech at gmail.com (owen nirvana) Date: Sun, 23 Nov 2008 12:00:30 +0800 Subject: [PerlChina] China-pm Digest, Vol 43, Issue 26 In-Reply-To: References: Message-ID: thanks gtalk:freeespeech at gmail.com 2008/11/23 : > 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. 传参的一点疑问 (owen nirvana) > 2. Re: 传参的一点疑问 (bruce) > 3. Re: 传参的一点疑问 (agentzh) > > > ---------------------------------------------------------------------- > > Message: 1 > Date: Sat, 22 Nov 2008 12:49:56 +0800 > From: "owen nirvana" > Subject: [PerlChina] 传参的一点疑问 > To: china-pm at pm.org > Message-ID: > > Content-Type: text/plain; charset=GB2312 > > 传递的参数是数组或者哈希的时候,怎么获取相关参数 > > 比如 func ( @arr)或者func(%hash) > 更复杂一点的 > func($param, @arr) > func(@arr,%hash) > 好像$_[0]肯定失灵了 > > gtalk:freeespeech at gmail.com > > ------------------------------ > > Message: 2 > Date: Sat, 22 Nov 2008 12:55:11 +0800 > From: "bruce" > Subject: Re: [PerlChina] 传参的一点疑问 > To: > Message-ID: <9D0C9F2F2A7948C2B0619A76AFC67925 at brucelaptop> > Content-Type: text/plain; charset="gb2312" > > 这种情况我一般用引用来解决,有点类似于C的指针。 > > my @arr ; > my %hash; > $point_hash = \%hash ; > $point_arr = \@arr ; > func($point_arr) ; > func2($point_hash) ; > > sub func > { my ($point_arr) = @_ ; > my @array_in = @{$point_arr} ; > ... > } > > sub func2 > { my ($point_hash) = @_ ; > my %hash_in = %{$point_hash} ; > .... > } > >> -----Original Message----- >> From: china-pm-bounces+bruce1914=gmail.com at pm.org >> [mailto:china-pm-bounces+bruce1914=gmail.com at pm.org] On Behalf Of owen >> nirvana >> Sent: 2008年11月22日 12:50 >> To: china-pm at pm.org >> Subject: [PerlChina] 传参的一点疑问 >> >> 传递的参数是数组或者哈希的时候,怎么获取相关参数 >> >> 比如 func ( @arr)或者func(%hash) >> 更复杂一点的 >> func($param, @arr) >> func(@arr,%hash) >> 好像$_[0]肯定失灵了 >> >> gtalk:freeespeech at gmail.com >> _______________________________________________ >> China-pm mailing list >> China-pm at pm.org >> http://mail.pm.org/mailman/listinfo/china-pm > > > > ------------------------------ > > Message: 3 > Date: Sat, 22 Nov 2008 15:19:49 +0800 > From: agentzh > Subject: Re: [PerlChina] 传参的一点疑问 > To: china-pm at pm.org > Message-ID: > > Content-Type: text/plain; charset="gb2312" > > 2008/11/22 owen nirvana : >> 传递的参数是数组或者哈希的时候,怎么获取相关参数 >> > > 以数组为参时: > > sub func { > my @b = @_; > # ... > } > > my @a = (1,2,3); > func(@a); > > 哈希为参时: > > sub func { > my %b = @_; > } > > my %a = (cat => 1, dog => 2); > func(%a); > > 这里的行为是哈希和数组会自动平展成 @_ 中的离散元素 :) 如果想避免,可以使用数组和哈希的引用,例如: > > sub func { > my @b = @{ $_[0] } > # ... > } > > my @a = (1,2,3); > func(\@a); > > # OR func([1,2,3]) > > 而对于哈希: > > my func { > my %b = %{ $_[0] }; > # ... > } > > my %a = (cat => 1, dog => 2); > func(\%a); > > # OR func( { cat => 1, dog => 2 } ); > > 参数是否 slurpy 的行为在 Perl 6 中可以更优雅地控制。。。呵呵 > > Hope this helps :) > > -agentzh > -------------- next part -------------- > An HTML attachment was scrubbed... > URL: > > ------------------------------ > > _______________________________________________ > China-pm mailing list > China-pm at pm.org > http://mail.pm.org/mailman/listinfo/china-pm > > End of China-pm Digest, Vol 43, Issue 26 > **************************************** > From silent2600 at gmail.com Wed Nov 26 22:23:47 2008 From: silent2600 at gmail.com (silent) Date: Thu, 27 Nov 2008 14:23:47 +0800 Subject: [PerlChina] =?gb2312?b?yOe6ztPD1f3U8si3tqix5MG/tcTE2sjdysd1dGY4?= =?gb2312?b?u7nKx2diMjMxMrXEPw==?= Message-ID: <492E3CF3.7000909@gmail.com> 看了cu上的帖子: http://bbs.chinaunix.net/viewthread.php?tid=907172 于是: sub is_utf8 { my $r = shift; return 1 if ($$r =~/[\x01-\x7f]|[\xc0-\xdf][\x80-\xbf]|[\xe0-\xef][\x80-\xbf]{2}|[\xf0-\xff][\x80-\xbf]{3}/); return 0; } sub is_gbk { my $r = shift; return 1 if ($$r=~/[\xb0-\xf7][\xa0-\xfe]/); return 0; } 可是不准确, 一段文字是utf8或是gb2312的都同时可以被成功匹配 为何? From agentzh at gmail.com Wed Nov 26 22:40:46 2008 From: agentzh at gmail.com (agentzh) Date: Thu, 27 Nov 2008 14:40:46 +0800 Subject: [PerlChina] =?gb2312?b?yOe6ztPD1f3U8si3tqix5MG/tcTE2sjdysd1dGY4?= =?gb2312?b?u7nKx2diMjMxMrXEPw==?= In-Reply-To: <492E3CF3.7000909@gmail.com> References: <492E3CF3.7000909@gmail.com> Message-ID: 2008/11/27 silent > > 看了cu上的帖子: > http://bbs.chinaunix.net/viewthread.php?tid=907172 > 我们一般使用 CPAN 上的 Encode::Guess 模块。对于长文本非常有效的,但是对于非常短的,比如两三个字的文本就不怎么准了,呵呵。 use Encode::Guess; my @enc = qw( UTF-8 GB2312 Big5 GBK Latin1 ); for my $enc (@enc) { my $decoder = guess_encoding($data, $enc); if (ref $decoder) { $charset = $decoder->name; last; } } if (!$charset) { die "Can't determine the charset of the input.\n"; } 这里 @enc 中是尝试的 charset 数量。其实感觉用 Encode 的 decode 函数也可以直接整,只不过设一个参数让它遇到错误字节时直接抛异常即可 ;) -agentzh -------------- next part -------------- An HTML attachment was scrubbed... URL: From silent2600 at gmail.com Wed Nov 26 22:45:23 2008 From: silent2600 at gmail.com (silent) Date: Thu, 27 Nov 2008 14:45:23 +0800 Subject: [PerlChina] =?gb2312?b?yOe6ztPD1f3U8si3tqix5MG/tcTE2sjdysd1dGY4?= =?gb2312?b?u7nKx2diMjMxMrXEPw==?= In-Reply-To: References: <492E3CF3.7000909@gmail.com> Message-ID: <492E4203.7050300@gmail.com> 了解, 可是我的那两个函数为什么不对呢? agentzh 写道: > > 我们一般使用 CPAN 上的 Encode::Guess 模块。对于长文本非常有效的,但是对于非常短的,比如两三个字的文本就不怎么准了,呵呵。 > > use Encode::Guess; > my @enc = qw( UTF-8 GB2312 Big5 GBK Latin1 ); > for my $enc (@enc) { > my $decoder = guess_encoding($data, $enc); > if (ref $decoder) { > $charset = $decoder->name; > last; > } > } > if (!$charset) { > die "Can't determine the charset of the input.\n"; > } > > 这里 @enc 中是尝试的 charset 数量。其实感觉用 Encode 的 decode > 函数也可以直接整,只不过设一个参数让它遇到错误字节时直接抛异常即可 ;) > > -agentzh > From bi.ken.lam at gmail.com Wed Nov 26 23:42:01 2008 From: bi.ken.lam at gmail.com (Ken Lam) Date: Thu, 27 Nov 2008 15:42:01 +0800 Subject: [PerlChina] =?utf-8?b?5aaC5L2V55So5q2j5YiZ56Gu5a6a5Y+Y6YeP55qE?= =?utf-8?b?5YaF5a655pivdXRmOOi/mOaYr2diMjMxMueahD8=?= In-Reply-To: <492E4203.7050300@gmail.com> References: <492E3CF3.7000909@gmail.com> <492E4203.7050300@gmail.com> Message-ID: <492E4F49.7030503@gmail.com> try this? /*use Encode qw(encode decode); sub is_utf8{ my $a = shift; my $b = encode('utf8', decode('utf8', $a)); return ($a eq $b) ? 1 : 0; } sub is_gbk{ my $a = shift; my $b = encode('gbk', decode('gbk', $a)); return ($a eq $b) ? 1 : 0; }*/ silent wrote: > 了解, 可是我的那两个函数为什么不对呢? > > agentzh 写道: > >> 我们一般使用 CPAN 上的 Encode::Guess 模块。对于长文本非常有效的,但是对于非常短的,比如两三个字的文本就不怎么准了,呵呵。 >> >> use Encode::Guess; >> my @enc = qw( UTF-8 GB2312 Big5 GBK Latin1 ); >> for my $enc (@enc) { >> my $decoder = guess_encoding($data, $enc); >> if (ref $decoder) { >> $charset = $decoder->name; >> last; >> } >> } >> if (!$charset) { >> die "Can't determine the charset of the input.\n"; >> } >> >> 这里 @enc 中是尝试的 charset 数量。其实感觉用 Encode 的 decode >> 函数也可以直接整,只不过设一个参数让它遇到错误字节时直接抛异常即可 ;) >> >> -agentzh >> >> > > _______________________________________________ > 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: From moxnet at gmail.com Wed Nov 26 23:45:27 2008 From: moxnet at gmail.com (Felix New) Date: Thu, 27 Nov 2008 15:45:27 +0800 Subject: [PerlChina] =?utf-8?b?5aaC5L2V55So5q2j5YiZ56Gu5a6a5Y+Y6YeP55qE?= =?utf-8?b?5YaF5a655pivdXRmOOi/mOaYr2diMjMxMueahD8=?= In-Reply-To: <492E4203.7050300@gmail.com> References: <492E3CF3.7000909@gmail.com> <492E4203.7050300@gmail.com> Message-ID: <976fc3f80811262345j5e0f8768la029eda15d350791@mail.gmail.com> 有些编码, 在两个函数中都为真的情况.比如: |> sub is_utf8 { |> my $r = shift; |> return 1 if ($$r |> =~/[\x01-\x7f]|[\xc0-\xdf][\x80-\xbf]|[\xe0-\xef][\x80-\xbf]{2}| [\xf0-\xff][\x80-\xbf]{3}/); 如果这儿,有个字的编码是[\xf0-\xff][\x80-\xbf]{3},更具体,比如是\xf0\xb1\xb1\xb1,上面红色部分匹配这个编码.那下面的gbk判断函数中的与此同时也匹配这个编码. |> return 0; |> } |> sub is_gbk { |> my $r = shift; |> return 1 if ($$r=~/[\xb0-\xf7][\xa0-\xfe]/); \xf0\xb1\xb1\xb1,上行的正则也匹配这个编码中的部分. |> return 0; |> } 那,最后\xf0\xb1\xb1\xb1这个编码是gbk还是utf8?这就不准确了. 2008/11/27 silent > > 了解, 可是我的那两个函数为什么不对呢? > > agentzh 写道: > > > > 我们一般使用 CPAN 上的 Encode::Guess 模块。对于长文本非常有效的,但是对于非常短的,比如两三个字的文本就不怎么准了,呵呵。 > > > > use Encode::Guess; > > my @enc = qw( UTF-8 GB2312 Big5 GBK Latin1 ); > > for my $enc (@enc) { > > my $decoder = guess_encoding($data, $enc); > > if (ref $decoder) { > > $charset = $decoder->name; > > last; > > } > > } > > if (!$charset) { > > die "Can't determine the charset of the input.\n"; > > } > > > > 这里 @enc 中是尝试的 charset 数量。其实感觉用 Encode 的 decode > > 函数也可以直接整,只不过设一个参数让它遇到错误字节时直接抛异常即可 ;) > > > > -agentzh > > > > _______________________________________________ > China-pm mailing list > China-pm at pm.org > http://mail.pm.org/mailman/listinfo/china-pm -- Best regards. Felix New -------------- next part -------------- An HTML attachment was scrubbed... URL: From silent2600 at gmail.com Wed Nov 26 23:56:15 2008 From: silent2600 at gmail.com (silent) Date: Thu, 27 Nov 2008 15:56:15 +0800 Subject: [PerlChina] =?gb2312?b?yOe6ztPD1f3U8si3tqix5MG/tcTE2sjdysd1dGY4?= =?gb2312?b?u7nKx2diMjMxMrXEPw==?= In-Reply-To: <976fc3f80811262345j5e0f8768la029eda15d350791@mail.gmail.com> References: <492E3CF3.7000909@gmail.com> <492E4203.7050300@gmail.com> <976fc3f80811262345j5e0f8768la029eda15d350791@mail.gmail.com> Message-ID: <492E529F.1050201@gmail.com> 恩,谢谢了. Felix New 写道: > 有些编码, 在两个函数中都为真的情况.比如: > > |> sub is_utf8 { > |> my $r = shift; > |> return 1 if ($$r > |> =~/[\x01-\x7f]|[\xc0-\xdf][\x80-\xbf]|[\xe0-\xef][\x80-\xbf]{2}| > [\xf0-\xff][\x80-\xbf]{3}/); > > 如果这儿,有个字的编码是[\xf0-\xff][\x80-\xbf]{3},更具体,比如是\xf0\xb1\xb1\xb1,上面红色部分匹配这个编码.那下面的gbk判断函数中的与此同时也匹配这个编码. > |> return 0; > |> } > > |> sub is_gbk { > |> my $r = shift; > |> return 1 if ($$r=~/[\xb0-\xf7][\xa0-\xfe]/); > \xf0\xb1\xb1\xb1,上行的正则也匹配这个编码中的部分. > |> return 0; > |> } > > 那,最后\xf0\xb1\xb1\xb1这个编码是gbk还是utf8?这就不准确了. > > From invite+oed6hvgf at facebookmail.com Thu Nov 27 21:37:52 2008 From: invite+oed6hvgf at facebookmail.com (Wan Chao Wei) Date: Thu, 27 Nov 2008 21:37:52 -0800 Subject: [PerlChina] =?utf-8?b?55yL55yL5oiR55qERmFjZWJvb2vkuKrkurrkuLs=?= =?utf-8?b?6aG1?= Message-ID: 您好,china-pm 我设置了我的Facebook个人主页,在这里,我可以上传照片、视频和活动。我想把您加为朋友,这样您就可以看到它们了。但是首先,您必须加入Facebook!加入后,您也可以创建自己的个人主页。 谢谢! Wan 注册Facebook,请访问下面的链接: http://www.facebook.com/p.php?i=1071245674&k=XXFU23Q336XMZEFGRF6YV&r -------------- next part -------------- An HTML attachment was scrubbed... URL: