2009年3月8日星期日

[PerlChina] Re: 09年上海第二次聚会

hotel is expensive ,  some middle school near People's square can

like Gezhi School,  other school

2009/3/8 purl lamp <lamp.purl@gmail.com>
谢谢建议,可以考虑其他更加挑战性小一些的地方,不过确实有必要多一些 presentation 氛围。大家要是能接受南京西路的话,可以考虑使用培训教室。只是那样又有点太严肃。喝咖啡的地方比较在意安静,英语学习俱乐部确实极为合适的一个地方,真是不知道 qiang 如何发现的。

2009/3/8 Tian Yazhou <phio.asia@gmail.com>

赞Joe,可是我觉得地点能不能找一个适合做presentation的地方?在餐桌上,总感觉不大适合做技术交流…… 或者找个酒吧?哈哈,这个我不在行,不知道可行否

2009/3/7 purl lamp <lamp.purl@gmail.com>

本来是这周的,但是因为有别的安排临时改变了日期到下个周六。也就是3/14。

2009/3/6 jesse <newday.jesse@gmail.com>
明天周末有聚会吗?


On 3月5日, 上午10时01分, 老邪 <swansu...@gmail.com> wrote:
> 呵呵,我改投上海阵营算了,安排在周末,时间挺好的 :)
>
> 2009/3/4 purl lamp <lamp.p...@gmail.com>
>
> > 在北京这个周四的聚会之后,我们也可以再来一次,这次的主题恰巧也是 Catalyst 相关的 DBIx :D
> > 时间可以定在这个月14日下午两点,地点仍然在人民广场附近,有合适的地点请推荐。







--
You should be the change you wish to see in the world









--
           Yours Sincerely
                   Zeng Hong

--~--~---------~--~----~------------~-------~--~----~
您收到此信息是由于您订阅了 Google 论坛"PerlChina Mongers 讨论组"论坛。
 要在此论坛发帖,请发电子邮件到 perlchina@googlegroups.com
 要退订此论坛,请发邮件至 perlchina+unsubscribe@googlegroups.com
 更多选项,请通过 http://groups.google.com/group/perlchina?hl=zh-CN 访问该论坛

-~----------~----~----~----~------~----~------~--~---

[PerlChina] Re: 问CGI页面如何控制翻页?

多谢解答,看来我还是保留limit offset好,目前看还是mysql最经济,Java/C++程序员为了数据库可移植性一般会制作大量的
DAO,我这一个个人网站这么做有些太小题大做了。

On Mar 7, 10:39 pm, azure wang <azure...@gmail.com> wrote:
> fetchrow_hashref 好像在mysql里只能一条一条的移动 几千条好像不是很快吧 mysql里还是推荐 limit
> 方法。代码也不是很多啊。。
>
> 我在mysql5里都是写成过程了,不让别人写sql 呵呵,有些人写的不好造成服务器很慢。以前就是有个经常访问的页里有一个全表扫描的sql
> 造成服务器缓慢。后来就开始使用过程了, 所有的sql都有专门的人去写,程序员只调用就行。(我们的程序员有很多新手...)
>
> 2009/3/7 林兴陆 <i...@lxl.cn>
>
>
>
> > 怎么能算代码量太大呢,翻页都是基础功能了,写成函数都是必须的。
>
> > 2009/3/7 yong <luo.yong.n...@gmail.com>:
> > > 大家好,
>
> > > 我现在手头的CGI程序使用的是mysql的limit和offset控制翻页,这么做感觉代码量太大,而且更换数据库时需要做大量的改动,请问是否可
> > > 以针对一个条目不是很多(几千条)的表使用直接调用fetchrow_hashref移动指针的方法来做翻页?或者是否有其他的方法能避免使用
> > > limit和offset?
>
> > > 多谢了。
>
> > --
> > /* 110000011101011011010000110010111100001010111101 *\
> > Lin Xinglu(林兴陆) - Mike Lam
> > Mobile Phone: (+86)13501281365
> > E-Mail: linxin...@webos.cn / i...@lxl.cn
> > Website:http://www.webos.cn- Web 3.0
> > QQ: 28888888
> > ICQ: 2876829
> > MSN: Linxin...@hotmail.com
> > Homepage:http://www.lxl.cn
> > \* 110000011101011011010000110010111100001010111101 */
>
> --
> Azure.Wang
--~--~---------~--~----~------------~-------~--~----~
您收到此信息是由于您订阅了 Google 论坛"PerlChina Mongers 讨论组"论坛。
要在此论坛发帖,请发电子邮件到 perlchina@googlegroups.com
要退订此论坛,请发邮件至 perlchina+unsubscribe@googlegroups.com
更多选项,请通过 http://groups.google.com/group/perlchina?hl=zh-CN 访问该论坛
-~----------~----~----~----~------~----~------~--~---

[PerlChina] Re: 问CGI页面如何控制翻页?

主要是下面的导航按钮,从头写十分难受,也不知道现在有没有写好的控件能做这个。

On Mar 7, 3:02 pm, 林兴陆 <i...@lxl.cn> wrote:
> 怎么能算代码量太大呢,翻页都是基础功能了,写成函数都是必须的。
>
> 2009/3/7 yong <luo.yong.n...@gmail.com>:
>
> > 大家好,
>
> > 我现在手头的CGI程序使用的是mysql的limit和offset控制翻页,这么做感觉代码量太大,而且更换数据库时需要做大量的改动,请问是否可
> > 以针对一个条目不是很多(几千条)的表使用直接调用fetchrow_hashref移动指针的方法来做翻页?或者是否有其他的方法能避免使用
> > limit和offset?
>
> > 多谢了。
>
> --
> /* 110000011101011011010000110010111100001010111101 *\
> Lin Xinglu(林兴陆) - Mike Lam
> Mobile Phone: (+86)13501281365
> E-Mail: linxin...@webos.cn / i...@lxl.cn
> Website:http://www.webos.cn- Web 3.0
> QQ: 28888888
> ICQ: 2876829
> MSN: Linxin...@hotmail.com
> Homepage:http://www.lxl.cn
> \* 110000011101011011010000110010111100001010111101 */
--~--~---------~--~----~------------~-------~--~----~
您收到此信息是由于您订阅了 Google 论坛"PerlChina Mongers 讨论组"论坛。
要在此论坛发帖,请发电子邮件到 perlchina@googlegroups.com
要退订此论坛,请发邮件至 perlchina+unsubscribe@googlegroups.com
更多选项,请通过 http://groups.google.com/group/perlchina?hl=zh-CN 访问该论坛
-~----------~----~----~----~------~----~------~--~---

[PerlChina] Re: 09年上海第二次聚会

谢谢建议,可以考虑其他更加挑战性小一些的地方,不过确实有必要多一些 presentation 氛围。大家要是能接受南京西路的话,可以考虑使用培训教室。只是那样又有点太严肃。喝咖啡的地方比较在意安静,英语学习俱乐部确实极为合适的一个地方,真是不知道 qiang 如何发现的。

2009/3/8 Tian Yazhou <phio.asia@gmail.com>
赞Joe,可是我觉得地点能不能找一个适合做presentation的地方?在餐桌上,总感觉不大适合做技术交流…… 或者找个酒吧?哈哈,这个我不在行,不知道可行否

2009/3/7 purl lamp <lamp.purl@gmail.com>

本来是这周的,但是因为有别的安排临时改变了日期到下个周六。也就是3/14。

2009/3/6 jesse <newday.jesse@gmail.com>
明天周末有聚会吗?


On 3月5日, 上午10时01分, 老邪 <swansu...@gmail.com> wrote:
> 呵呵,我改投上海阵营算了,安排在周末,时间挺好的 :)
>
> 2009/3/4 purl lamp <lamp.p...@gmail.com>
>
> > 在北京这个周四的聚会之后,我们也可以再来一次,这次的主题恰巧也是 Catalyst 相关的 DBIx :D
> > 时间可以定在这个月14日下午两点,地点仍然在人民广场附近,有合适的地点请推荐。







--
You should be the change you wish to see in the world





--~--~---------~--~----~------------~-------~--~----~
您收到此信息是由于您订阅了 Google 论坛"PerlChina Mongers 讨论组"论坛。
 要在此论坛发帖,请发电子邮件到 perlchina@googlegroups.com
 要退订此论坛,请发邮件至 perlchina+unsubscribe@googlegroups.com
 更多选项,请通过 http://groups.google.com/group/perlchina?hl=zh-CN 访问该论坛

-~----------~----~----~----~------~----~------~--~---

[PerlChina] Re: 09年上海第二次聚会

赞Joe,可是我觉得地点能不能找一个适合做presentation的地方?在餐桌上,总感觉不大适合做技术交流…… 或者找个酒吧?哈哈,这个我不在行,不知道可行否

2009/3/7 purl lamp <lamp.purl@gmail.com>
本来是这周的,但是因为有别的安排临时改变了日期到下个周六。也就是3/14。

2009/3/6 jesse <newday.jesse@gmail.com>
明天周末有聚会吗?


On 3月5日, 上午10时01分, 老邪 <swansu...@gmail.com> wrote:
> 呵呵,我改投上海阵营算了,安排在周末,时间挺好的 :)
>
> 2009/3/4 purl lamp <lamp.p...@gmail.com>
>
> > 在北京这个周四的聚会之后,我们也可以再来一次,这次的主题恰巧也是 Catalyst 相关的 DBIx :D
> > 时间可以定在这个月14日下午两点,地点仍然在人民广场附近,有合适的地点请推荐。







--
You should be the change you wish to see in the world

--~--~---------~--~----~------------~-------~--~----~
您收到此信息是由于您订阅了 Google 论坛"PerlChina Mongers 讨论组"论坛。
 要在此论坛发帖,请发电子邮件到 perlchina@googlegroups.com
 要退订此论坛,请发邮件至 perlchina+unsubscribe@googlegroups.com
 更多选项,请通过 http://groups.google.com/group/perlchina?hl=zh-CN 访问该论坛

-~----------~----~----~----~------~----~------~--~---

[PerlChina] Re: Tk

我安装perlapp 5.1,但是我无法编译,perlapp -s=text.pl -e=zhu(DOS下),
不能编译,为什么?

On 3月7日, 下午7时46分, Wan Chaowei <wanmy...@gmail.com> wrote:
> perl脚本在控制台运行我从来没有去掉过那个黑屏。使用perlapp打包的时候使用gui参数黑屏就不见了。perlapp是pdk的一部分,pdk是商业-软件,我只是在研究他的原理
--~--~---------~--~----~------------~-------~--~----~
您收到此信息是由于您订阅了 Google 论坛"PerlChina Mongers 讨论组"论坛。
要在此论坛发帖,请发电子邮件到 perlchina@googlegroups.com
要退订此论坛,请发邮件至 perlchina+unsubscribe@googlegroups.com
更多选项,请通过 http://groups.google.com/group/perlchina?hl=zh-CN 访问该论坛
-~----------~----~----~----~------~----~------~--~---

Re: [PerlChina] China-pm Digest, Vol 46, Issue 2

阁下也还是elsif啊,我的问题是,既然只有两种可能,那么不应该需要elsif,匹配到第一条分支,否则进入第二条,不应该有第三种可能,
gtalk:freeespeech@gmail.com

2009/3/5 <china-pm-request@pm.org>:
> Send China-pm mailing list submissions to
> china-pm@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@pm.org
>
> You can reach the person managing the list at
> china-pm-owner@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: China-pm Digest, Vol 43, Issue 23 (cnhack TNT)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Wed, 4 Mar 2009 11:10:25 +0800
> From: cnhack TNT <cnhacktnt@gmail.com>
> Subject: Re: [PerlChina] China-pm Digest, Vol 43, Issue 23
> To: china-pm@pm.org
> Message-ID:
> <f6f3441f0903031910r7ea79d9o68ac93fef9ff4e91@mail.gmail.com>
> Content-Type: text/plain; charset="gb2312"
>
> 用 else 的话, 你得把 /^\s+(.*)$/ 放在 else 块中,再做处理:
> 我是这样处理的:
> -------------------------------------------------
> #!/usr/bin/perl;
> use strict;
>
> my ($name, $title) = ();
>
> while(<DATA>){
>
> if (/^(\d+)\s+(.*)$/){
>
> print "====\n$name\t$title\n=====\n" if $name;
> $name = $1;
> $title = $2;
> next;
>
> } elsif (/^\s+(.*)$/) {
>
> $title.= $1;
> }
>
> print "====\n$name\t$title\n=====\n" if eof;
>
> }
>
>
> __DATA__
> 2222 eewweasdds,asdasd.sadsadasdas
> ddasdddddddddddddddddddda
> ddddddddddddddddddddddddddd
> 2821 easdddddddddddddddddddddddd
> 2192 288888888888888888888ass0a-das.
> as;dddsaddaa0---------22222222
> 3030 123456
> 789
>
> #-----------------END-----------------
>
> 2009/3/3 owen nirvana <freeespeech@gmail.com>
>
>> > 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
>>
>> 把自己的老问题翻上来,今天突然发现如果不是elsif, 而是else, 就只有匹配行的第二行会被合并,下一行就不会, why
>> gtalk:freeespeech@gmail.com <gtalk%3Afreeespeech@gmail.com>
>>
>>
>>
>> 2008/11/18 <china-pm-request@pm.org>:
>> > Send China-pm mailing list submissions to
>> > china-pm@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@pm.org
>> >
>> > You can reach the person managing the list at
>> > china-pm-owner@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: China-pm Digest, Vol 43, Issue 21 (truncatei)
>> >
>> >
>> > ----------------------------------------------------------------------
>> >
>> > Message: 1
>> > Date: Mon, 17 Nov 2008 22:01:40 +0800
>> > From: truncatei <truncatei@gmail.com>
>> > Subject: Re: [PerlChina] China-pm Digest, Vol 43, Issue 21
>> > To: china-pm@pm.org
>> > Message-ID:
>> > <c0d775f40811170601m6c2437aeyc2a3c19e7fe0a82e@mail.gmail.com>
>> > Content-Type: text/plain; charset="utf-8"
>> >
>> > 2008/11/17 owen nirvana <freeespeech@gmail.com>
>> >
>> >> 谢谢,问题是归到上一行这样的操作,我不知道如何用正则表达式完成,那不等于是让表达式再回溯吗
>> >> gtalk:freeespeech@gmail.com <gtalk%3Afreeespeech@gmail.com> <
>> gtalk%3Afreeespeech@gmail.com <gtalk%253Afreeespeech@gmail.com>>
>> >>
>> >>
>> >> >>
>> >> >>
>> >> >> 还有一个问题,是关于提取数据的
>> >> >>
>> >> >> 2222 eewweasdds,asdasd.sadsadasdas
>> >> >> ddasdddddddddddddddddddda
>> >> >> ddddddddddddddddddddddddddd
>> >> >> 2821 easdddddddddddddddddddddddd
>> >> >> 2192 288888888888888888888ass0a-das.
>> >> >> as;dddsaddaa0---------22222222
>> >> >>
>> >> >> 诸如此类,左边很好办,可是右边并不限于单行,我该如何把这样的数据提取为 name title的格式存到数据表里呢
>> >>
>> >> <http://mail.pm.org/mailman/listinfo/china-pm>
>> >
>> >
>> >
>> > 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: <
>> http://mail.pm.org/pipermail/china-pm/attachments/20081117/e8fdbb3d/attachment-0001.html
>> >
>> >
>> > ------------------------------
>> >
>> > _______________________________________________
>> > China-pm mailing list
>> > China-pm@pm.org
>> > http://mail.pm.org/mailman/listinfo/china-pm
>> >
>> > End of China-pm Digest, Vol 43, Issue 23
>> > ****************************************
>> >
>> _______________________________________________
>> China-pm mailing list
>> China-pm@pm.org
>> http://mail.pm.org/mailman/listinfo/china-pm
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: <http://mail.pm.org/pipermail/china-pm/attachments/20090304/98397bc5/attachment-0001.html>
>
> ------------------------------
>
> _______________________________________________
> China-pm mailing list
> China-pm@pm.org
> http://mail.pm.org/mailman/listinfo/china-pm
>
> End of China-pm Digest, Vol 46, Issue 2
> ***************************************
>
_______________________________________________
China-pm mailing list
China-pm@pm.org
http://mail.pm.org/mailman/listinfo/china-pm