2009年11月21日星期六

[PerlChina] Re: 请教如何把日期中的中文规换为-号?

use Encode qw /_utf8_on/;

$date = "2009年1月1日";
$date =~ s/\p{Han}/-/gs;

print $date


不过这个问题似乎应该提取数字更靠谱, 呵呵

2009/11/20 Alex <xjdengz@gmail.com>

On Fri, Nov 20, 2009 at 05:03:41PM +0800, x2x4 wrote:
>2009年1月1日  oops
>

$str = "2009年1月1日";

$str =~ s/(\d{4}).+?(\d).+?(\d).*/$1-$2-$3/;

Put the Chinese character set to wildcard, it looks like working well.

>2009/11/11 Tiger Peng <tigerpeng2001@gmail.com>:
>> $datetime=~s{(\d\d\d\d)(年)(\d\d)(月)(\d\d)(日)}
>>                     {$1-$2-$3}gxms;
>>
>> 或
>>
>> $datetime=~s{(\d\d\d\d)(\D)(\d\d)(\D)(\d\d)(\D)}
>>                     {$1-$2-$3}gxms;
>>
>> 2009/11/10 imxae <imx365ster@gmail.com>:
>>> 把数字提出来,这是个想法,研究中
>>>
>>> >
>>>
>>
>> >
>>
>
>>




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

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

2009年11月20日星期五

[PerlChina] Re: 请教如何把日期中的中文规换为-号?

On Fri, Nov 20, 2009 at 05:03:41PM +0800, x2x4 wrote:
>2009年1月1日 oops
>

$str = "2009年1月1日";

$str =~ s/(\d{4}).+?(\d).+?(\d).*/$1-$2-$3/;

Put the Chinese character set to wildcard, it looks like working well.

>2009/11/11 Tiger Peng <tigerpeng2001@gmail.com>:
>> $datetime=~s{(\d\d\d\d)(年)(\d\d)(月)(\d\d)(日)}
>> {$1-$2-$3}gxms;
>>
>> 或
>>
>> $datetime=~s{(\d\d\d\d)(\D)(\d\d)(\D)(\d\d)(\D)}
>> {$1-$2-$3}gxms;
>>
>> 2009/11/10 imxae <imx365ster@gmail.com>:
>>> 把数字提出来,这是个想法,研究中
>>>
>>> >
>>>
>>
>> >
>>
>
>>

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

[PerlChina] Re: 请教如何把日期中的中文规换为-号?

2009年1月1日 oops

2009/11/11 Tiger Peng <tigerpeng2001@gmail.com>:
> $datetime=~s{(\d\d\d\d)(年)(\d\d)(月)(\d\d)(日)}
> {$1-$2-$3}gxms;
>
> 或
>
> $datetime=~s{(\d\d\d\d)(\D)(\d\d)(\D)(\d\d)(\D)}
> {$1-$2-$3}gxms;
>
> 2009/11/10 imxae <imx365ster@gmail.com>:
>> 把数字提出来,这是个想法,研究中
>>
>> >
>>
>
> >
>

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

2009年11月19日星期四

[PerlChina] Re: 偷窥一下大家的隐私,大家学生时代学习怎么样呢。

我高中体育也没过。。同性的女老师。。,很好。。

2009/11/20 wang dingyuan <wang.dingyuan1@gmail.com>
果然很强大
joji

Ogden Nash  - "The trouble with a kitten is that when it grows up, it's always a cat."

2009/11/20 chen zhen <czhttp@gmail.com>

同性的女老师 这个是亮点

2009/11/19 cui robin <cuiyuming@gmail.com>:
> 还是挂了一门政治课,后来过了一个学期,出了几百块补考费,瞎补考了一下,就过了
>
> 高中更有趣,因为体育课没上,去打篮球了,和我不让我过,银发班主任老师殷切的说,这个过不了会影响高考的,我就中午买了一箱"金红牛"饮料骑单车送到体育老师家门口,也就过了。
>
> 2009/11/16 liseen <liseen.wan@gmail.com>
>>
>> 再加一句, 不过就对计算机的理解来说, 差agentzh很远, 哈哈
>>
>> 2009/11/16 liseen <liseen.wan@gmail.com>
>>>
>>> agentzh是挂科的,我没有的, 呵呵。
>>>
>>> 2009/10/30 Alex <xjdengz@gmail.com>
>>>>
>>>> On Fri, Oct 30, 2009 at 10:51:02PM +0800, cnhack TNT wrote:
>>>> >挂挂更健康~
>>>> >不过毕业的时候还是莫名其妙总分平均算起来拿了回奖学金,也算没有遗憾了:-)
>>>> >
>>>> 挂科了没得奖学金拿吧, 其他的再好也不行. :-)
>>>> >2009/10/30 Anders <hackshel@gmail.com>
>>>> >
>>>> >> 我是非常糟糕的。
>>>> >>
>>>> >> >
>>>> >>
>>>> >
>>>> >>
>>>>
>>>>
>>>
>>
>>
>>
>
>
> >
>



--
-
http://www.54chen.com
http://twitter.com/54chen







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

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

[PerlChina] Re: 偷窥一下大家的隐私,大家学生时代学习怎么样呢。

果然很强大
joji

Ogden Nash  - "The trouble with a kitten is that when it grows up, it's always a cat."

2009/11/20 chen zhen <czhttp@gmail.com>
同性的女老师 这个是亮点

2009/11/19 cui robin <cuiyuming@gmail.com>:
> 还是挂了一门政治课,后来过了一个学期,出了几百块补考费,瞎补考了一下,就过了
>
> 高中更有趣,因为体育课没上,去打篮球了,和我不让我过,银发班主任老师殷切的说,这个过不了会影响高考的,我就中午买了一箱"金红牛"饮料骑单车送到体育老师家门口,也就过了。
>
> 2009/11/16 liseen <liseen.wan@gmail.com>
>>
>> 再加一句, 不过就对计算机的理解来说, 差agentzh很远, 哈哈
>>
>> 2009/11/16 liseen <liseen.wan@gmail.com>
>>>
>>> agentzh是挂科的,我没有的, 呵呵。
>>>
>>> 2009/10/30 Alex <xjdengz@gmail.com>
>>>>
>>>> On Fri, Oct 30, 2009 at 10:51:02PM +0800, cnhack TNT wrote:
>>>> >挂挂更健康~
>>>> >不过毕业的时候还是莫名其妙总分平均算起来拿了回奖学金,也算没有遗憾了:-)
>>>> >
>>>> 挂科了没得奖学金拿吧, 其他的再好也不行. :-)
>>>> >2009/10/30 Anders <hackshel@gmail.com>
>>>> >
>>>> >> 我是非常糟糕的。
>>>> >>
>>>> >> >
>>>> >>
>>>> >
>>>> >>
>>>>
>>>>
>>>
>>
>>
>>
>
>
> >
>



--
-
http://www.54chen.com
http://twitter.com/54chen




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

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

[PerlChina] Re: 偷窥一下大家的隐私,大家学生时代学习怎么样呢。

同性的女老师 这个是亮点

2009/11/19 cui robin <cuiyuming@gmail.com>:
> 还是挂了一门政治课,后来过了一个学期,出了几百块补考费,瞎补考了一下,就过了
>
> 高中更有趣,因为体育课没上,去打篮球了,和我不让我过,银发班主任老师殷切的说,这个过不了会影响高考的,我就中午买了一箱"金红牛"饮料骑单车送到体育老师家门口,也就过了。
>
> 2009/11/16 liseen <liseen.wan@gmail.com>
>>
>> 再加一句, 不过就对计算机的理解来说, 差agentzh很远, 哈哈
>>
>> 2009/11/16 liseen <liseen.wan@gmail.com>
>>>
>>> agentzh是挂科的,我没有的, 呵呵。
>>>
>>> 2009/10/30 Alex <xjdengz@gmail.com>
>>>>
>>>> On Fri, Oct 30, 2009 at 10:51:02PM +0800, cnhack TNT wrote:
>>>> >挂挂更健康~
>>>> >不过毕业的时候还是莫名其妙总分平均算起来拿了回奖学金,也算没有遗憾了:-)
>>>> >
>>>> 挂科了没得奖学金拿吧, 其他的再好也不行. :-)
>>>> >2009/10/30 Anders <hackshel@gmail.com>
>>>> >
>>>> >> 我是非常糟糕的。
>>>> >>
>>>> >> >
>>>> >>
>>>> >
>>>> >>
>>>>
>>>>
>>>
>>
>>
>>
>
>
> >
>

--
-
http://www.54chen.com
http://twitter.com/54chen

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

[PerlChina] Re: Job Post (Perl Engineer in HangZhou)

An update - We now look for Perl Engineers located in both 杭州 (Hangzhou) & 苏州 (Suzhou).

Thanks,
Emen

2009/11/17 emen <emenzhaowork@gmail.com>
Hello,

A friend of mine is looking for a Perl Engineer located in 杭州. The
company is new and very promising. If you or anyone you know of are
interested, please send the resume to me at emenzhaowork@gmail.com.

Thanks,
Emen

Perl Software Engineer

We are looking for a highly motivated, energetic Perl engineer for
software storage product.

Specific Job Requirements:
   -- Extensive working experience of programming in Perl
   -- Good oral and written communication skills
   -- Enthusiastic, positive personality, good team player
   -- The successful candidate will also have experience with the
several of the following:
        ** Perl, CGI, JavaScript programming skill on Linux / Unix or
Solaris.
        ** Web service / web application, Apache / JBoss / Tomcat
        ** Knowledge of SOAP / REST
        ** Database such as MySQL
        ** Experience with storage management or networking
management,
            SNMP may also be valuable.
        ** Experience with PHP is a plus.

Education and Work Experience
   -- BS / MS in CS, EE or related area
   -- 2+ year of industry experience or relevant.


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

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

[PerlChina] Re: 谁有Google Wave的邀请码呀?

soneedu@gmail.com 也发个吧

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

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

[PerlChina] Re: 进行网页抓取,然后进行正则替换的时候在某一处中断

我也在浦东,不过这周末可能有事儿:-)

2009/11/19 YuCheng Tang <yctang.sec@gmail.com>
周六有上海的,一起出来打桌球么?
我在浦东~




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

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

[PerlChina] Re: 偷窥一下大家的隐私,大家学生时代学习怎么样呢。

还是挂了一门政治课,后来过了一个学期,出了几百块补考费,瞎补考了一下,就过了

高中更有趣,因为体育课没上,去打篮球了,和我同性的女老师不让我过,银发班主任老师殷切的说,这个过不了会影响高考的,我就中午买了一箱“金红牛”饮料骑单车送到体育老师家门口,也就过了。

2009/11/16 liseen <liseen.wan@gmail.com>
再加一句, 不过就对计算机的理解来说, 差agentzh很远, 哈哈

2009/11/16 liseen <liseen.wan@gmail.com>

agentzh是挂科的,我没有的, 呵呵。 

2009/10/30 Alex <xjdengz@gmail.com>

On Fri, Oct 30, 2009 at 10:51:02PM +0800, cnhack TNT wrote:
>挂挂更健康~
>不过毕业的时候还是莫名其妙总分平均算起来拿了回奖学金,也算没有遗憾了:-)
>
挂科了没得奖学金拿吧, 其他的再好也不行. :-)
>2009/10/30 Anders <hackshel@gmail.com>
>
>> 我是非常糟糕的。
>>
>> >
>>
>
>>








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

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

[PerlChina] Re: 谁有Google Wave的邀请码呀?

求一个先 fengpxu@gmail.com


 
2009/10/28 xsir317 <xsir317@163.com>
如题,谁有GoogleWave的邀请码,送俺可以么?
 
2009-10-28




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

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

[PerlChina] Re: 进行网页抓取,然后进行正则替换的时候在某一处中断

周六有上海的,一起出来打桌球么?
我在浦东~

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

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

Re: 回复:[PerlChina] Re: 谁有Google Wave的邀请码呀?

我也想求一个,玩玩
chengfangyuan2008@gmail.com
谢谢!

On 11月19日, 上午10时37分, northern <wjg.no...@gmail.com> wrote:
> wjg.no...@gmail.com
> 兄弟给我也来的一个吧.
>
> On 11月19日, 午前4:12, Andrew Zhu <andrew.zh...@gmail.com> wrote:
>
> > andrew.zh...@gmail.com
> > 兄弟给我也来的一个吧.
>
> > 2009/11/18 Justin Rain <ljustin...@gmail.com>:
>
> > > ljustin...@gmail.com
> > > 兄弟给我也来的一个吧.
>
> > > 2009/11/11 mono <freeespe...@gmail.com>
>
> > >> 发两个,别人给我的,我用不着了
>
> > >> verb510 has invited you to preview Google Wave!
>
> > >> Google Wave is a new online tool for real-time communication and
> > >> collaboration. A wave can be both a conversation and a document where
> > >> people can discuss and work together using text, photos, videos, maps,
> > >> and more. Learn more at wave.google.com.
>
> > >> This is still an early preview of Google Wave, so you may run into
> > >> some bumps along the way but we look forward to your feedback.
>
> > >> To accept your invitation, sign into Google Wave at the following
> > >> link*:
>
> > >>https://wave.google.com/wave/invite?a=pre&wtok=078dd175ab24a3fa&wsig=...
> > >> (If you do not have a Google account, you will be prompted to create
> > >> one)
>
> > >> Once you've signed in:
>
> > >> * Check out the videos and example waves
> > >> * Update your profile
> > >> * Start waving!
>
> > >> Happy waving!
> > >> The Google Wave Team
>
> > >> bingyue.yang has invited you to preview Google Wave!
>
> > >> Google Wave is a new online tool for real-time communication and
> > >> collaboration. A wave can be both a conversation and a document where
> > >> people can discuss and work together using text, photos, videos, maps,
> > >> and more. Learn more at wave.google.com.
>
> > >> This is still an early preview of Google Wave, so you may run into
> > >> some bumps along the way but we look forward to your feedback.
>
> > >> To accept your invitation, sign into Google Wave at the following
> > >> link*:
>
> > >>https://wave.google.com/wave/invite?a=pre&wtok=2d91cb6bc0b5a108&wsig=...
> > >> (If you do not have a Google account, you will be prompted to create
> > >> one)
>
> > >> Once you've signed in:
>
> > >> * Check out the videos and example waves
> > >> * Update your profile
> > >> * Start waving!
>
> > >> Happy waving!
> > >> The Google Wave Team
>
> > >> On 11月4日, 下午6时05分, 清茶 <qing...@gmail.com> wrote:
> > >> > 好像又晚了一步
>
> > >> > 2009/11/4 Anthony WU <anthonywu...@gmail.com>:
>
> > >> > > 收集郵件地址的人看見這一連串的內容可開心了
>
> > >> > > -------- Original Message --------
> > >> > > Subject: Re: 回复:[PerlChina] Re: 谁有Google Wave的邀请码呀?
> > >> > > From: elliott.ray0 <elliott.r...@gmail.com>
> > >> > > To: perlchina <perlchina@googlegroups.com>
> > >> > > Date: 3/11/2009 23:04
>
> > >> > > 我也同求。。。谢谢各位了。。。 elliot.r...@gmail.com
>
> > >> > > 2009-11-03
> > >> > > ________________________________
> > >> > > elliott.ray0
> > >> > > ________________________________
> > >> > > 发件人: wang dingyuan
> > >> > > 发送时间: 2009-11-03 16:06:26
> > >> > > 收件人: perlchina
> > >> > > 抄送:
> > >> > > 主题: Re: 回复:[PerlChina] Re: 谁有Google Wave的邀请码呀?
> > >> > > 同求
> > >> > > joji
> > >> > > Sent from Hangzhou, 33, China
> > >> > > Mike Ditka - "If God had wanted man to play soccer, he wouldn't have
> > >> > > given
> > >> > > us arms."
>
> > >> > > 2009/11/3 e280s 4ever <e280s4e...@gmail.com>
>
> > >> > >> 同求;
>
> > >> > >> e280s4e...@gmail.com
>
> > >> > >> 2009/11/3 xuefeng <m...@xuefeng.org>
>
> > >> > >>> 来晚了啊,还有的话给我一个吧,谢了哈
>
> > >> > >>> 账号是slash...@gmail.com
>
> > >> > >>> 2009/11/3 sanwu888 <sanwu...@gmail.com>
>
> > >> > >>>> 给我一个,谢谢 sanwu...@gmail.com
>
> > >> > >>>> On Nov 3, 11:29 am, kevin_li <xiaohuidexi...@163.com> wrote:
> > >> > >>>> > 回信的朋友 都加到invitation list中了
> > >> > >>>> > google的邀请信不会立即发 不知道原因
> > >> > >>>> > 给我的说明里是这么说的
> > >> > >>>> > list复制不出来
> > >> > >>>> > 貌似是wave的右键功能没做好?? 复制不好用。。。
> > >> > >>>> > 右键菜单里还有个搜索选定词汇 一点 整个页面都跳到搜索页面了
> > >> > >>>> > 很不爽
>
> > >> > >>>> > 在2009-11-03,"Steven Zhu" <steven...@gmail.com> 写道:
> > >> > >>>> > 我也要一个,谢谢!
>
> > >> > >>>> > 2009/11/3 黄志宾 <jabi...@gmail.com>
> > >> > >>>> > 我也想要一个...jabi...@gmail.com 谢谢
>
> > >> > >>>> > 2009/11/3 Rainbird <chinakapal...@gmail.com>
>
> > >> > >>>> > chinakapal...@gmail.com
> > >> > >>>> > 谢谢
>
> > >> > >>>> > 2009/11/3 msmouse <msmo...@gmail.com>
>
> > >> > >>>> > astronaut...@gmail.com :) 多谢 多谢
>
> > >> > >>>> > ----------------------------------
> > >> > >>>> > msmo...@ir.hit.edu.cn
> > >> > >>>> > msmo...@gmail.com
>
> > >> > >>>> > 2009/11/3 kevin_li <xiaohuidexi...@163.com>
>
> > >> > >>>> > 我还有19个名额 还有谁需要?
> > >> > >>>> > 刚才给了 Anders hacks...@gmail.com 一个
>
> > >> > >>>> > 在2009-11-02,Anders <hacks...@gmail.com> 写道:
>
> > >> > >>>> > >我也求一个 !!!
> > >> > >>>> > >谢谢了
>
> > >> > >>>> > >hacks...@gmail.com
>
> > >> > >>>> > 09年新晋3D主流网游《天下贰》,网易六年亿资打造
>
> > >> > >>>> > --
> > >> > >>>> > 态度决定高度,技术成就梦想
>
> > >> > > --
> > >> > > Best Regards,
> > >> > > Anthony WU >>- 引用テキストを表示しない -
>
> > - 引用テキストを表示 -
--~--~---------~--~----~------------~-------~--~----~
您收到此信息是由于您订阅了 Google 论坛"PerlChina Mongers 讨论组"论坛。
要在此论坛发帖,请发电子邮件到 perlchina@googlegroups.com
要退订此论坛,请发邮件至 perlchina+unsubscribe@googlegroups.com
更多选项,请通过 http://groups.google.com/group/perlchina?hl=zh-CN 访问该论坛
-~----------~----~----~----~------~----~------~--~---

2009年11月18日星期三

Re: 回复:[PerlChina] Re: 谁有Google Wave的邀请码呀?

wjg.north@gmail.com
兄弟给我也来的一个吧.

On 11月19日, 午前4:12, Andrew Zhu <andrew.zh...@gmail.com> wrote:
> andrew.zh...@gmail.com
> 兄弟给我也来的一个吧.
>
> 2009/11/18 Justin Rain <ljustin...@gmail.com>:
>
>
>
> > ljustin...@gmail.com
> > 兄弟给我也来的一个吧.
>
> > 2009/11/11 mono <freeespe...@gmail.com>
>
> >> 发两个,别人给我的,我用不着了
>
> >> verb510 has invited you to preview Google Wave!
>
> >> Google Wave is a new online tool for real-time communication and
> >> collaboration. A wave can be both a conversation and a document where
> >> people can discuss and work together using text, photos, videos, maps,
> >> and more. Learn more at wave.google.com.
>
> >> This is still an early preview of Google Wave, so you may run into
> >> some bumps along the way but we look forward to your feedback.
>
> >> To accept your invitation, sign into Google Wave at the following
> >> link*:
>
> >>https://wave.google.com/wave/invite?a=pre&wtok=078dd175ab24a3fa&wsig=...
> >> (If you do not have a Google account, you will be prompted to create
> >> one)
>
> >> Once you've signed in:
>
> >> * Check out the videos and example waves
> >> * Update your profile
> >> * Start waving!
>
> >> Happy waving!
> >> The Google Wave Team
>
> >> bingyue.yang has invited you to preview Google Wave!
>
> >> Google Wave is a new online tool for real-time communication and
> >> collaboration. A wave can be both a conversation and a document where
> >> people can discuss and work together using text, photos, videos, maps,
> >> and more. Learn more at wave.google.com.
>
> >> This is still an early preview of Google Wave, so you may run into
> >> some bumps along the way but we look forward to your feedback.
>
> >> To accept your invitation, sign into Google Wave at the following
> >> link*:
>
> >>https://wave.google.com/wave/invite?a=pre&wtok=2d91cb6bc0b5a108&wsig=...
> >> (If you do not have a Google account, you will be prompted to create
> >> one)
>
> >> Once you've signed in:
>
> >> * Check out the videos and example waves
> >> * Update your profile
> >> * Start waving!
>
> >> Happy waving!
> >> The Google Wave Team
>
> >> On 11月4日, 下午6时05分, 清茶 <qing...@gmail.com> wrote:
> >> > 好像又晚了一步
>
> >> > 2009/11/4 Anthony WU <anthonywu...@gmail.com>:
>
> >> > > 收集郵件地址的人看見這一連串的內容可開心了
>
> >> > > -------- Original Message --------
> >> > > Subject: Re: 回复:[PerlChina] Re: 谁有Google Wave的邀请码呀?
> >> > > From: elliott.ray0 <elliott.r...@gmail.com>
> >> > > To: perlchina <perlchina@googlegroups.com>
> >> > > Date: 3/11/2009 23:04
>
> >> > > 我也同求。。。谢谢各位了。。。 elliot.r...@gmail.com
>
> >> > > 2009-11-03
> >> > > ________________________________
> >> > > elliott.ray0
> >> > > ________________________________
> >> > > 发件人: wang dingyuan
> >> > > 发送时间: 2009-11-03 16:06:26
> >> > > 收件人: perlchina
> >> > > 抄送:
> >> > > 主题: Re: 回复:[PerlChina] Re: 谁有Google Wave的邀请码呀?
> >> > > 同求
> >> > > joji
> >> > > Sent from Hangzhou, 33, China
> >> > > Mike Ditka - "If God had wanted man to play soccer, he wouldn't have
> >> > > given
> >> > > us arms."
>
> >> > > 2009/11/3 e280s 4ever <e280s4e...@gmail.com>
>
> >> > >> 同求;
>
> >> > >> e280s4e...@gmail.com
>
> >> > >> 2009/11/3 xuefeng <m...@xuefeng.org>
>
> >> > >>> 来晚了啊,还有的话给我一个吧,谢了哈
>
> >> > >>> 账号是slash...@gmail.com
>
> >> > >>> 2009/11/3 sanwu888 <sanwu...@gmail.com>
>
> >> > >>>> 给我一个,谢谢 sanwu...@gmail.com
>
> >> > >>>> On Nov 3, 11:29 am, kevin_li <xiaohuidexi...@163.com> wrote:
> >> > >>>> > 回信的朋友 都加到invitation list中了
> >> > >>>> > google的邀请信不会立即发 不知道原因
> >> > >>>> > 给我的说明里是这么说的
> >> > >>>> > list复制不出来
> >> > >>>> > 貌似是wave的右键功能没做好?? 复制不好用。。。
> >> > >>>> > 右键菜单里还有个搜索选定词汇 一点 整个页面都跳到搜索页面了
> >> > >>>> > 很不爽
>
> >> > >>>> > 在2009-11-03,"Steven Zhu" <steven...@gmail.com> 写道:
> >> > >>>> > 我也要一个,谢谢!
>
> >> > >>>> > 2009/11/3 黄志宾 <jabi...@gmail.com>
> >> > >>>> > 我也想要一个...jabi...@gmail.com 谢谢
>
> >> > >>>> > 2009/11/3 Rainbird <chinakapal...@gmail.com>
>
> >> > >>>> > chinakapal...@gmail.com
> >> > >>>> > 谢谢
>
> >> > >>>> > 2009/11/3 msmouse <msmo...@gmail.com>
>
> >> > >>>> > astronaut...@gmail.com :) 多谢 多谢
>
> >> > >>>> > ----------------------------------
> >> > >>>> > msmo...@ir.hit.edu.cn
> >> > >>>> > msmo...@gmail.com
>
> >> > >>>> > 2009/11/3 kevin_li <xiaohuidexi...@163.com>
>
> >> > >>>> > 我还有19个名额 还有谁需要?
> >> > >>>> > 刚才给了 Anders hacks...@gmail.com 一个
>
> >> > >>>> > 在2009-11-02,Anders <hacks...@gmail.com> 写道:
>
> >> > >>>> > >我也求一个 !!!
> >> > >>>> > >谢谢了
>
> >> > >>>> > >hacks...@gmail.com
>
> >> > >>>> > 09年新晋3D主流网游《天下贰》,网易六年亿资打造
>
> >> > >>>> > --
> >> > >>>> > 态度决定高度,技术成就梦想
>
> >> > > --
> >> > > Best Regards,
> >> > > Anthony WU >>- 引用テキストを表示しない -
>
> - 引用テキストを表示 -
--~--~---------~--~----~------------~-------~--~----~
您收到此信息是由于您订阅了 Google 论坛"PerlChina Mongers 讨论组"论坛。
要在此论坛发帖,请发电子邮件到 perlchina@googlegroups.com
要退订此论坛,请发邮件至 perlchina+unsubscribe@googlegroups.com
更多选项,请通过 http://groups.google.com/group/perlchina?hl=zh-CN 访问该论坛
-~----------~----~----~----~------~----~------~--~---

[PerlChina] Re: 进行网页抓取,然后进行正则替换的时候在某一处中断

谢谢楼上的2个大哥, 现在发现问题是。 我直接抓取的内容存到文本就有了乱码

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

Re: 回复:[PerlChina] Re: 谁有Google Wave的邀请码呀?

andrew.zhuyi@gmail.com
兄弟给我也来的一个吧.

2009/11/18 Justin Rain <ljustinian@gmail.com>:
> ljustinian@gmail.com
> 兄弟给我也来的一个吧.
>
> 2009/11/11 mono <freeespeech@gmail.com>
>>
>> 发两个,别人给我的,我用不着了
>>
>> verb510 has invited you to preview Google Wave!
>>
>> Google Wave is a new online tool for real-time communication and
>> collaboration. A wave can be both a conversation and a document where
>> people can discuss and work together using text, photos, videos, maps,
>> and more. Learn more at wave.google.com.
>>
>> This is still an early preview of Google Wave, so you may run into
>> some bumps along the way but we look forward to your feedback.
>>
>> To accept your invitation, sign into Google Wave at the following
>> link*:
>>
>> https://wave.google.com/wave/invite?a=pre&wtok=078dd175ab24a3fa&wsig=ABk8uhS077pDbPYOgPCxG3lSfoVzYgavJA
>> (If you do not have a Google account, you will be prompted to create
>> one)
>>
>> Once you've signed in:
>>
>> * Check out the videos and example waves
>> * Update your profile
>> * Start waving!
>>
>>
>> Happy waving!
>> The Google Wave Team
>>
>>
>> bingyue.yang has invited you to preview Google Wave!
>>
>> Google Wave is a new online tool for real-time communication and
>> collaboration. A wave can be both a conversation and a document where
>> people can discuss and work together using text, photos, videos, maps,
>> and more. Learn more at wave.google.com.
>>
>> This is still an early preview of Google Wave, so you may run into
>> some bumps along the way but we look forward to your feedback.
>>
>> To accept your invitation, sign into Google Wave at the following
>> link*:
>>
>> https://wave.google.com/wave/invite?a=pre&wtok=2d91cb6bc0b5a108&wsig=ABk8uhRiP8r3MnmG5UmCAuciScUz5UKZQw
>> (If you do not have a Google account, you will be prompted to create
>> one)
>>
>> Once you've signed in:
>>
>> * Check out the videos and example waves
>> * Update your profile
>> * Start waving!
>>
>>
>> Happy waving!
>> The Google Wave Team
>>
>> On 11月4日, 下午6时05分, 清茶 <qing...@gmail.com> wrote:
>> > 好像又晚了一步
>> >
>> > 2009/11/4 Anthony WU <anthonywu...@gmail.com>:
>> >
>> > > 收集郵件地址的人看見這一連串的內容可開心了
>> >
>> > > -------- Original Message --------
>> > > Subject: Re: 回复:[PerlChina] Re: 谁有Google Wave的邀请码呀?
>> > > From: elliott.ray0 <elliott.r...@gmail.com>
>> > > To: perlchina <perlchina@googlegroups.com>
>> > > Date: 3/11/2009 23:04
>> >
>> > > 我也同求。。。谢谢各位了。。。 elliot.r...@gmail.com
>> >
>> > > 2009-11-03
>> > > ________________________________
>> > > elliott.ray0
>> > > ________________________________
>> > > 发件人: wang dingyuan
>> > > 发送时间: 2009-11-03 16:06:26
>> > > 收件人: perlchina
>> > > 抄送:
>> > > 主题: Re: 回复:[PerlChina] Re: 谁有Google Wave的邀请码呀?
>> > > 同求
>> > > joji
>> > > Sent from Hangzhou, 33, China
>> > > Mike Ditka - "If God had wanted man to play soccer, he wouldn't have
>> > > given
>> > > us arms."
>> >
>> > > 2009/11/3 e280s 4ever <e280s4e...@gmail.com>
>> >
>> > >> 同求;
>> >
>> > >> e280s4e...@gmail.com
>> >
>> > >> 2009/11/3 xuefeng <m...@xuefeng.org>
>> >
>> > >>> 来晚了啊,还有的话给我一个吧,谢了哈
>> >
>> > >>> 账号是slash...@gmail.com
>> >
>> > >>> 2009/11/3 sanwu888 <sanwu...@gmail.com>
>> >
>> > >>>> 给我一个,谢谢 sanwu...@gmail.com
>> >
>> > >>>> On Nov 3, 11:29 am, kevin_li <xiaohuidexi...@163.com> wrote:
>> > >>>> > 回信的朋友 都加到invitation list中了
>> > >>>> > google的邀请信不会立即发 不知道原因
>> > >>>> > 给我的说明里是这么说的
>> > >>>> > list复制不出来
>> > >>>> > 貌似是wave的右键功能没做好?? 复制不好用。。。
>> > >>>> > 右键菜单里还有个搜索选定词汇 一点 整个页面都跳到搜索页面了
>> > >>>> > 很不爽
>> >
>> > >>>> > 在2009-11-03,"Steven Zhu" <steven...@gmail.com> 写道:
>> > >>>> > 我也要一个,谢谢!
>> >
>> > >>>> > 2009/11/3 黄志宾 <jabi...@gmail.com>
>> > >>>> > 我也想要一个...jabi...@gmail.com 谢谢
>> >
>> > >>>> > 2009/11/3 Rainbird <chinakapal...@gmail.com>
>> >
>> > >>>> > chinakapal...@gmail.com
>> > >>>> > 谢谢
>> >
>> > >>>> > 2009/11/3 msmouse <msmo...@gmail.com>
>> >
>> > >>>> > astronaut...@gmail.com :) 多谢 多谢
>> >
>> > >>>> > ----------------------------------
>> > >>>> > msmo...@ir.hit.edu.cn
>> > >>>> > msmo...@gmail.com
>> >
>> > >>>> > 2009/11/3 kevin_li <xiaohuidexi...@163.com>
>> >
>> > >>>> > 我还有19个名额 还有谁需要?
>> > >>>> > 刚才给了 Anders hacks...@gmail.com 一个
>> >
>> > >>>> > 在2009-11-02,Anders <hacks...@gmail.com> 写道:
>> >
>> > >>>> > >我也求一个 !!!
>> > >>>> > >谢谢了
>> >
>> > >>>> > >hacks...@gmail.com
>> >
>> > >>>> > 09年新晋3D主流网游《天下贰》,网易六年亿资打造
>> >
>> > >>>> > --
>> > >>>> > 态度决定高度,技术成就梦想
>> >
>> > > --
>> > > Best Regards,
>> > > Anthony WU >>
>

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

[PerlChina] Re: 进行网页抓取,然后进行正则替换的时候在某一处中断

嘿嘿。我之前也碰到这个问题了。
其实关键在于这一句:
my $list = get $url;
$list = encode("gbk", decode("utf8", $list));

其实在抓取内容之后,根本不要去encode, 只要decode就好了,这样就保持了perl得内码。
然后在输出得时候有很多选择,要么输出encode, 要么使用io得encoding层。

perldoc Encode



2009/11/16 liseen <liseen.wan@gmail.com>

终端显示有点问题, 是下面这个

curl http://www.hiao.com/node/hiaospace.htm | perl -ne ' s#\.\./#http://www\.hiao\.com/# if $. < 32; print;'  | piconv -f utf8 -t gb2312


2009/11/16 liseen <liseen.wan@gmail.com>

curl http://www.hiao.com/node/hiaospace.htm | perl -ne ' s#\.\./#http://www\.hiao\.f $. < 32; print;'  | piconv -f utf8 -t gbk

2009/11/16 刺猬 <php0532@gmail.com>

想要抓取某一个网页,然后进行一些替换操作,生成文件后以便其他页面调用。抓取都没有问题,进行写入的时候顺便进行了正则替换和转码, 抓取的内容是
utf8我要转成gb2312。然后就发现到了页面的某一行后,程序就停止了,怀疑是有特殊字符导致的,不知道应该怎么处理,有没有类似CDATA 之
类的方法呢。。
贴出代码,也请大家帮忙看看
use LWP::Simple;
use Encode;
open TARGET, ">>target.txt";
open(NEW,">union2.txt");
my $url ='http://www.hiao.com/node/hiaospace.htm';
my $list = get $url;
$list = encode("gbk", decode("utf8", $list));
if(!$list){ die "couldn't ger $url"; }
else{ print NEW $list; }
open(WE,"union2.txt");
my $i=1;
while (<WE>) {
    $i++;
    next if $i<32;
    last if /<\/body>/;
    $_=~s#\.\./#http://www\.hiao\.com/#;
    next if (length($_)==1);
    print    TARGET $_     ;
}
print    "\n";
close(NEW);
close(WE);
close(TARGET);







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

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

[PerlChina] 关注了下这个Microsoft Biology Foundation Project。

Beta 1版本已经放出了。是个基于.NET的bioinformatics方面的库。
是个ms的开源项目。
昨天大致浏览了下源代码,主要还是序列比对和多重序列比对的一些内建库函数,引的reference之类,注的也很清楚。

目前,当然,比起perl自带的bioperl模块,还很稚嫩,也很单一,但这个基于C#的库,以后做带GUI的小软件,貌似比perl方便很
多。。。。ms的ide,拖控件那个爽阿 。。。。本身内部有python的接口。。。也可以比较方便的用python来调用。
感兴趣的可以去这里看下,注册下就可以下它的源代码。
https://connect.microsoft.com/BIO?wa=wsignin1.0

Perl这些年真的有些老了,风头给python盖过不少, 无聊的时候只能去http://rakudo.org/status看看Perl6的近
况,希望它明年能出来。

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

[PerlChina] Re: 各位能推荐一个可以在windows下使用的ssh登录远程server的模块么?

http://search.cpan.org/~rgiersig/Expect-1.15/Expect.pod

On 11月8日, 下午4时00分, zhang jiaqiang <zhangjiaqi...@gmail.com> wrote:
> 一开始用strawberry,安装Net::SSH::Perl,安装失败。
>
> 后来用了activeperl,装了一大堆ppm,还是用Net::SSH::Perl 一运行直接挂死了,google了一下,说换了DH
> 0.03版就可以了,但是我的还是挂在那里。
>
> Best regards
> Zhang JiaQiang
--~--~---------~--~----~------------~-------~--~----~
您收到此信息是由于您订阅了 Google 论坛"PerlChina Mongers 讨论组"论坛。
要在此论坛发帖,请发电子邮件到 perlchina@googlegroups.com
要退订此论坛,请发邮件至 perlchina+unsubscribe@googlegroups.com
更多选项,请通过 http://groups.google.com/group/perlchina?hl=zh-CN 访问该论坛
-~----------~----~----~----~------~----~------~--~---

2009年11月17日星期二

Re: 回复:[PerlChina] Re: 谁有Google Wave的邀请码呀?

兄弟给我也来的一个吧.

2009/11/11 mono <freeespeech@gmail.com>

发两个,别人给我的,我用不着了

verb510 has invited you to preview Google Wave!

Google Wave is a new online tool for real-time communication and
collaboration. A wave can be both a conversation and a document where
people can discuss and work together using text, photos, videos, maps,
and more. Learn more at wave.google.com.

This is still an early preview of Google Wave, so you may run into
some bumps along the way but we look forward to your feedback.

To accept your invitation, sign into Google Wave at the following
link*:
https://wave.google.com/wave/invite?a=pre&wtok=078dd175ab24a3fa&wsig=ABk8uhS077pDbPYOgPCxG3lSfoVzYgavJA
(If you do not have a Google account, you will be prompted to create
one)

Once you've signed in:

   * Check out the videos and example waves
   * Update your profile
   * Start waving!


Happy waving!
The Google Wave Team


bingyue.yang has invited you to preview Google Wave!

Google Wave is a new online tool for real-time communication and
collaboration. A wave can be both a conversation and a document where
people can discuss and work together using text, photos, videos, maps,
and more. Learn more at wave.google.com.

This is still an early preview of Google Wave, so you may run into
some bumps along the way but we look forward to your feedback.

To accept your invitation, sign into Google Wave at the following
link*:
https://wave.google.com/wave/invite?a=pre&wtok=2d91cb6bc0b5a108&wsig=ABk8uhRiP8r3MnmG5UmCAuciScUz5UKZQw
(If you do not have a Google account, you will be prompted to create
one)

Once you've signed in:

   * Check out the videos and example waves
   * Update your profile
   * Start waving!


Happy waving!
The Google Wave Team

On 11月4日, 下午6时05分, 清茶 <qing...@gmail.com> wrote:
> 好像又晚了一步
>
> 2009/11/4 Anthony WU <anthonywu...@gmail.com>:
>
> > 收集郵件地址的人看見這一連串的內容可開心了
>
> > -------- Original Message  --------
> > Subject: Re: 回复:[PerlChina] Re: 谁有Google Wave的邀请码呀?
> > From: elliott.ray0 <elliott.r...@gmail.com>
> > To: perlchina <perlchina@googlegroups.com>
> > Date: 3/11/2009 23:04
>
> > 我也同求。。。谢谢各位了。。。 elliot.r...@gmail.com
>
> > 2009-11-03
> > ________________________________
> > elliott.ray0
> > ________________________________
> > 发件人: wang dingyuan
> > 发送时间: 2009-11-03  16:06:26
> > 收件人: perlchina
> > 抄送:
> > 主题: Re: 回复:[PerlChina] Re: 谁有Google Wave的邀请码呀?
> > 同求
> > joji
> > Sent from Hangzhou, 33, China
> > Mike Ditka  - "If God had wanted man to play soccer, he wouldn't have given
> > us arms."
>
> > 2009/11/3 e280s 4ever <e280s4e...@gmail.com>
>
> >> 同求;
>
> >> e280s4e...@gmail.com
>
> >> 2009/11/3 xuefeng <m...@xuefeng.org>
>
> >>> 来晚了啊,还有的话给我一个吧,谢了哈
>
> >>> 账号是slash...@gmail.com
>
> >>> 2009/11/3 sanwu888 <sanwu...@gmail.com>
>
> >>>> 给我一个,谢谢  sanwu...@gmail.com
>
> >>>> On Nov 3, 11:29 am, kevin_li <xiaohuidexi...@163.com> wrote:
> >>>> > 回信的朋友 都加到invitation list中了
> >>>> > google的邀请信不会立即发  不知道原因
> >>>> > 给我的说明里是这么说的
> >>>> > list复制不出来
> >>>> > 貌似是wave的右键功能没做好?? 复制不好用。。。
> >>>> > 右键菜单里还有个搜索选定词汇 一点 整个页面都跳到搜索页面了
> >>>> > 很不爽
>
> >>>> > 在2009-11-03,"Steven Zhu" <steven...@gmail.com> 写道:
> >>>> > 我也要一个,谢谢!
>
> >>>> > 2009/11/3 黄志宾 <jabi...@gmail.com>
> >>>> > 我也想要一个...jabi...@gmail.com 谢谢
>
> >>>> > 2009/11/3 Rainbird <chinakapal...@gmail.com>
>
> >>>> > chinakapal...@gmail.com
> >>>> > 谢谢
>
> >>>> > 2009/11/3 msmouse <msmo...@gmail.com>
>
> >>>> > astronaut...@gmail.com :) 多谢 多谢
>
> >>>> > ----------------------------------
> >>>> > msmo...@ir.hit.edu.cn
> >>>> > msmo...@gmail.com
>
> >>>> > 2009/11/3 kevin_li <xiaohuidexi...@163.com>
>
> >>>> > 我还有19个名额  还有谁需要?
> >>>> > 刚才给了 Anders hacks...@gmail.com 一个
>
> >>>> > 在2009-11-02,Anders <hacks...@gmail.com> 写道:
>
> >>>> > >我也求一个 !!!
> >>>> > >谢谢了
>
> >>>> > >hacks...@gmail.com
>
> >>>> > 09年新晋3D主流网游《天下贰》,网易六年亿资打造
>
> >>>> > --
> >>>> > 态度决定高度,技术成就梦想
>
> > --
> > Best Regards,
> >    Anthony WU --~--~---------~--~----~------------~-------~--~----~
您收到此信息是由于您订阅了 Google 论坛"PerlChina Mongers 讨论组"论坛。
 要在此论坛发帖,请发电子邮件到 perlchina@googlegroups.com
 要退订此论坛,请发邮件至 perlchina+unsubscribe@googlegroups.com
 更多选项,请通过 http://groups.google.com/group/perlchina?hl=zh-CN 访问该论坛

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

[PerlChina] Re: 请教个各位一个菜鸟级perl的语法问题!

unless 就是"除非"
until 就是"直到"

按照字面意思去理解就好了。

2009/11/18 Michael Zeng <galaxy2004@gmail.com>
unless就是 if not ,  until就是 while not


2009/11/18 <123456fuzhong@sohu.com>


Hi: All

 

 我在用perl时对perl中的unless(EXPRESSION)/elsif 和 until (EXPRESSION)这两个东东不太好理解,书上说,表达式为假就执行

 

EXPRESSION.实在有点晕,哪位大侠给咱讲讲啊。




你今天猎婚了吗?马上投猎婚简历




--
           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: 请教个各位一个菜鸟级perl的语法问题!

unless就是 if not ,  until就是 while not


2009/11/18 <123456fuzhong@sohu.com>


Hi: All

 

 我在用perl时对perl中的unless(EXPRESSION)/elsif 和 until (EXPRESSION)这两个东东不太好理解,书上说,表达式为假就执行

 

EXPRESSION.实在有点晕,哪位大侠给咱讲讲啊。




你今天猎婚了吗?马上投猎婚简历




--
           Yours Sincerely
                   Zeng Hong

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

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

[PerlChina] 请教个各位一个菜鸟级perl的语法问题!


Hi: All

 

 我在用perl时对perl中的unless(EXPRESSION)/elsif 和 until (EXPRESSION)这两个东东不太好理解,书上说,表达式为假就执行

 

EXPRESSION.实在有点晕,哪位大侠给咱讲讲啊。




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

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

[PerlChina] Re: 关于在rename的使用

rename 可以覆盖已经存在的文件名啊, 没有问题

就和mv一样的


2009/11/17 Troy <magicxiaowei@gmail.com>

 rename OLDNAME,NEWNAME
              Changes the name of a file; an existing file NEWNAME
will be
              clobbered.  Returns true for success, false otherwise.
好像是newname不能是已经存在的文件名

btw,既然用了File::Copy,为啥还要用rename

NAME
      File::Copy - Copy files or filehandles

SYNOPSIS
              use File::Copy;

              copy("file1","file2") or die "Copy failed: $!";
              copy("Copy.pm",\*STDOUT);
              move("/dev1/fileA","/dev2/fileB");

              use File::Copy "cp";

              $n = FileHandle->new("/a/file","r");
              cp($n,"x");



On 11月16日, 下午3时17分, earthminator <naz...@163.com> wrote:
> 在Linux中编写一个程序,目的是从mol文件夹中调取文件到operation文件夹中运行,再把结果传到result文件中。因为
> dssmol.exe只能运行input.mol的文件,所以要把它改名。比且运行结果是一个output文件,然后要把它在给名放到result文件
> 夹中。于是我编写如下程序:
> #!/usr/bin/perl
>
> use Cwd;
> use File::Path;
> use Shell;
> use File::Copy;
>
> $home_dir = cwd;
> $mol_dir = $home_dir .'/mols';
> $operation_dir = $home_dir .'/operation';
> $result_dir = $home_dir.'/result';
> chair ($mol_dir);  #change to molecules directory
> @mol = glob ('*.mol');  #get all molecules files
> $mol_num = @mol;
> print "Total @mol_num molecules.\n";
> $i=0;
> while ($i<$mol_num) {
>    print "mol_num[$i]";
>      rename ("mol_num[$i] , input.mol")||die   $!;
>        move "input.mol , /home_dir/operation";
>        system "rm -rf $input.mol";
>        chair($operation_dir); #begin to run MODEL under this directory
>        system " ./dssmol.exe";
>           move "output , /home_dir/result/";
>              system "rm -rf $input.mol";
>              system "rm -rf $output";
>                 chair($result_dir); #change to result directory
>              rename ("output , $i")||die   $!;
>              system "rm -rf $output";
>
>    i++};
> 在运行后出现的问题是
> Not enough arguments for rename at mol1.pl line 22, near ""mol_num
> [$i] , input.mol")"
> Not enough arguments for rename at mol1.pl line 31, near ""output ,
> $i")"
> Execution of mol1.pl aborted due to compilation errors.
>
> 由于刚学perl,我不知道怎么处理这个问题。。。




--
           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: 请教是否有画出随机数组分布情况图的模块

俺用 Asymptote 画过


在2009-11-17,"樊啸宇" <hellotomfan@gmail.com> 写道:
同上,谢谢 :D





09年新晋3D主流网游《天下贰》,网易六年亿资打造 --~--~---------~--~----~------------~-------~--~----~
您收到此信息是由于您订阅了 Google 论坛"PerlChina Mongers 讨论组"论坛。
 要在此论坛发帖,请发电子邮件到 perlchina@googlegroups.com
 要退订此论坛,请发邮件至 perlchina+unsubscribe@googlegroups.com
 更多选项,请通过 http://groups.google.com/group/perlchina?hl=zh-CN 访问该论坛

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

[PerlChina] Re: 求助 socket编程时碰到的问题

因為你使用 <> 來讀數據,所以以行為單位,建議你看看有關 select 的文檔

-------- Original Message --------
Subject: [PerlChina] Re: 求助 socket编程时碰到的问题
From: 周鹏远 <jackson1668@gmail.com>
To: perlchina@googlegroups.com
Date: 17/11/2009 10:47
> 呵呵,的确如此,自己糊涂了
>
> 2009/11/17 flw <su2admin@gmail.com <mailto:su2admin@gmail.com>>
>
> 何谈"多"?
> 难道每一个换行符不都是你亲手写上去的吗?
>
> 2009/11/17 小飞侠 <jackson1668@gmail.com
> <mailto:jackson1668@gmail.com>>
>
>
> 服务器端代码:
> use strict;
> use warnings;
> use IO::Socket;
>
> my $sock = IO::Socket::INET->new(
> LocalHost => 'localhost',
> LocalPort => 2345,
> Proto => 'tcp',
> Listen => 20,
> Reuse => 1,
> ) or die "no socket: $!\n";
> print "listening........\n";
> while(1){
> next if ( !( my $session = $sock->accept ) );
> print "begin talking \n";
> while ( my $data = <$session> ) {
> print "reived from client : $data";
> print $session "you said $data\n";
> }
> close $session;
>
> }
> 客户端代码:
> use strict;
> use warnings;
> use IO::Socket;
>
> my $sock = IO::Socket::INET->new(
> PeerAddr => "localhost:2345",
> Proto => 'tcp',
> ) or die "no socket: $!\n";
> my $line;
> my $message;
> while(1){
> $line=<STDIN>;
> print $sock $line;
> while(<$sock>){
> print "received from server: $_";
> last;
> }
>
> }
>
> ---测试结果----
> ###################################################
> 客户端:
> [root@localhost forkserv-oo-0.01]# perl client.pl
> <http://client.pl>
> hello
> received from server: you said hello
> How are you
> received from server:
> are you listening?
> received from server: you said How are you
> oh I am puzzled
> received from server:
> oh no
> received from server: you said are you listening?
> ####################################################
> 服务器端:
> listening........
> begin talking
> reived from client : hello
> reived from client : How are you
> reived from client : are you listening?
> reived from client : oh I am puzzled
> reived from client : oh no
> ####################################################
> 现象分析:
> 似乎服务器返回的消息,每次都会多返回一个空回车符(或者换行符),
> 导致消息延迟
>
> 困惑中.......
> 望高手不吝赐教
>
>
>
>
>
>
>
> >

--
Best Regards,
Anthony WU


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

[PerlChina] Re: 关于在rename的使用

rename OLDNAME,NEWNAME
Changes the name of a file; an existing file NEWNAME
will be
clobbered. Returns true for success, false otherwise.
好像是newname不能是已经存在的文件名

btw,既然用了File::Copy,为啥还要用rename

NAME
File::Copy - Copy files or filehandles

SYNOPSIS
use File::Copy;

copy("file1","file2") or die "Copy failed: $!";
copy("Copy.pm",\*STDOUT);
move("/dev1/fileA","/dev2/fileB");

use File::Copy "cp";

$n = FileHandle->new("/a/file","r");
cp($n,"x");

On 11月16日, 下午3时17分, earthminator <naz...@163.com> wrote:
> 在Linux中编写一个程序,目的是从mol文件夹中调取文件到operation文件夹中运行,再把结果传到result文件中。因为
> dssmol.exe只能运行input.mol的文件,所以要把它改名。比且运行结果是一个output文件,然后要把它在给名放到result文件
> 夹中。于是我编写如下程序:
> #!/usr/bin/perl
>
> use Cwd;
> use File::Path;
> use Shell;
> use File::Copy;
>
> $home_dir = cwd;
> $mol_dir = $home_dir .'/mols';
> $operation_dir = $home_dir .'/operation';
> $result_dir = $home_dir.'/result';
> chair ($mol_dir); #change to molecules directory
> @mol = glob ('*.mol'); #get all molecules files
> $mol_num = @mol;
> print "Total @mol_num molecules.\n";
> $i=0;
> while ($i<$mol_num) {
> print "mol_num[$i]";
> rename ("mol_num[$i] , input.mol")||die $!;
> move "input.mol , /home_dir/operation";
> system "rm -rf $input.mol";
> chair($operation_dir); #begin to run MODEL under this directory
> system " ./dssmol.exe";
> move "output , /home_dir/result/";
> system "rm -rf $input.mol";
> system "rm -rf $output";
> chair($result_dir); #change to result directory
> rename ("output , $i")||die $!;
> system "rm -rf $output";
>
> i++};
> 在运行后出现的问题是
> Not enough arguments for rename at mol1.pl line 22, near ""mol_num
> [$i] , input.mol")"
> Not enough arguments for rename at mol1.pl line 31, near ""output ,
> $i")"
> Execution of mol1.pl aborted due to compilation errors.
>
> 由于刚学perl,我不知道怎么处理这个问题。。。
--~--~---------~--~----~------------~-------~--~----~
您收到此信息是由于您订阅了 Google 论坛"PerlChina Mongers 讨论组"论坛。
要在此论坛发帖,请发电子邮件到 perlchina@googlegroups.com
要退订此论坛,请发邮件至 perlchina+unsubscribe@googlegroups.com
更多选项,请通过 http://groups.google.com/group/perlchina?hl=zh-CN 访问该论坛
-~----------~----~----~----~------~----~------~--~---

[PerlChina] Re: 各位能推荐一个可以在windows下使用的ssh登录远程server的模块么?

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

[PerlChina] Job Post (Perl Engineer in HangZhou)

Hello,

A friend of mine is looking for a Perl Engineer located in 杭州. The
company is new and very promising. If you or anyone you know of are
interested, please send the resume to me at emenzhaowork@gmail.com.

Thanks,
Emen

Perl Software Engineer

We are looking for a highly motivated, energetic Perl engineer for
software storage product.

Specific Job Requirements:
-- Extensive working experience of programming in Perl
-- Good oral and written communication skills
-- Enthusiastic, positive personality, good team player
-- The successful candidate will also have experience with the
several of the following:
** Perl, CGI, JavaScript programming skill on Linux / Unix or
Solaris.
** Web service / web application, Apache / JBoss / Tomcat
** Knowledge of SOAP / REST
** Database such as MySQL
** Experience with storage management or networking
management,
SNMP may also be valuable.
** Experience with PHP is a plus.

Education and Work Experience
-- BS / MS in CS, EE or related area
-- 2+ year of industry experience or relevant.

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

[PerlChina] Re: 各位能推荐一个可以在windows下使用的ssh登录远程server的模块么?

Net::SSH::Perl 就成
只是有些 BUG,都是可以修复的。

2009/11/8 Michael Zeng <galaxy2004@gmail.com>
try    Net::SSH::Expect 

2009/11/8 PIG <addmyin@gmail.com>

w32perl?

2009/11/8 zhang jiaqiang <zhangjiaqiang@gmail.com>

一开始用strawberry,安装Net::SSH::Perl,安装失败。

后来用了activeperl,装了一大堆ppm,还是用Net::SSH::Perl 一运行直接挂死了,google了一下,说换了DH 0.03版就可以了,但是我的还是挂在那里。

Best regards
Zhang JiaQiang






--
大明童鞋
特价blog一个http://daminger.net
我的翻墙代理http://proxy.daminger.net
记得帮我点广告- -.






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

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

2009年11月16日星期一

[PerlChina] 请教是否有画出随机数组分布情况图的模块

同上,谢谢 :D

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

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

[PerlChina] Re: 求助 socket编程时碰到的问题

呵呵,的确如此,自己糊涂了

2009/11/17 flw <su2admin@gmail.com>
何谈“多”?
难道每一个换行符不都是你亲手写上去的吗?

2009/11/17 小飞侠 <jackson1668@gmail.com>


服务器端代码:
use strict;
use warnings;
use IO::Socket;

my $sock = IO::Socket::INET->new(
       LocalHost => 'localhost',
       LocalPort => 2345,
       Proto     => 'tcp',
       Listen    => 20,
       Reuse     => 1,
) or die "no socket: $!\n";
 print "listening........\n";
while(1){
        next if ( !( my $session = $sock->accept ) );
       print "begin talking \n";
        while ( my $data = <$session> ) {
               print "reived from client : $data";
               print $session "you said $data\n";
        }
        close $session;

}
客户端代码:
use strict;
use warnings;
use IO::Socket;

my $sock = IO::Socket::INET->new(
       PeerAddr => "localhost:2345",
       Proto     => 'tcp',
   ) or die "no socket: $!\n";
my $line;
my $message;
while(1){
       $line=<STDIN>;
       print $sock $line;
       while(<$sock>){
               print "received from server: $_";
               last;
       }

}

---测试结果----
###################################################
客户端:
[root@localhost forkserv-oo-0.01]# perl client.pl
hello
received from server: you said hello
How are you
received from server:
are you listening?
received from server: you said How are you
oh I am puzzled
received from server:
oh no
received from server: you said are you listening?
####################################################
服务器端:
listening........
begin talking
reived from client : hello
reived from client : How are you
reived from client : are you listening?
reived from client : oh I am puzzled
reived from client : oh no
####################################################
现象分析:
似乎服务器返回的消息,每次都会多返回一个空回车符(或者换行符),导致消息延迟

困惑中.......
望高手不吝赐教







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

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

[PerlChina] Re: 求助 socket编程时碰到的问题

何谈"多"?
难道每一个换行符不都是你亲手写上去的吗?

2009/11/17 小飞侠 <jackson1668@gmail.com>

服务器端代码:
use strict;
use warnings;
use IO::Socket;

my $sock = IO::Socket::INET->new(
       LocalHost => 'localhost',
       LocalPort => 2345,
       Proto     => 'tcp',
       Listen    => 20,
       Reuse     => 1,
) or die "no socket: $!\n";
 print "listening........\n";
while(1){
        next if ( !( my $session = $sock->accept ) );
       print "begin talking \n";
        while ( my $data = <$session> ) {
               print "reived from client : $data";
               print $session "you said $data\n";
        }
        close $session;

}
客户端代码:
use strict;
use warnings;
use IO::Socket;

my $sock = IO::Socket::INET->new(
       PeerAddr => "localhost:2345",
       Proto     => 'tcp',
   ) or die "no socket: $!\n";
my $line;
my $message;
while(1){
       $line=<STDIN>;
       print $sock $line;
       while(<$sock>){
               print "received from server: $_";
               last;
       }

}

---测试结果----
###################################################
客户端:
[root@localhost forkserv-oo-0.01]# perl client.pl
hello
received from server: you said hello
How are you
received from server:
are you listening?
received from server: you said How are you
oh I am puzzled
received from server:
oh no
received from server: you said are you listening?
####################################################
服务器端:
listening........
begin talking
reived from client : hello
reived from client : How are you
reived from client : are you listening?
reived from client : oh I am puzzled
reived from client : oh no
####################################################
现象分析:
似乎服务器返回的消息,每次都会多返回一个空回车符(或者换行符),导致消息延迟

困惑中.......
望高手不吝赐教




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

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

[PerlChina] 求助 socket编程时碰到的问题

服务器端代码:
use strict;
use warnings;
use IO::Socket;

my $sock = IO::Socket::INET->new(
LocalHost => 'localhost',
LocalPort => 2345,
Proto => 'tcp',
Listen => 20,
Reuse => 1,
) or die "no socket: $!\n";
print "listening........\n";
while(1){
next if ( !( my $session = $sock->accept ) );
print "begin talking \n";
while ( my $data = <$session> ) {
print "reived from client : $data";
print $session "you said $data\n";
}
close $session;

}
客户端代码:
use strict;
use warnings;
use IO::Socket;

my $sock = IO::Socket::INET->new(
PeerAddr => "localhost:2345",
Proto => 'tcp',
) or die "no socket: $!\n";
my $line;
my $message;
while(1){
$line=<STDIN>;
print $sock $line;
while(<$sock>){
print "received from server: $_";
last;
}

}

---测试结果----
###################################################
客户端:
[root@localhost forkserv-oo-0.01]# perl client.pl
hello
received from server: you said hello
How are you
received from server:
are you listening?
received from server: you said How are you
oh I am puzzled
received from server:
oh no
received from server: you said are you listening?
####################################################
服务器端:
listening........
begin talking
reived from client : hello
reived from client : How are you
reived from client : are you listening?
reived from client : oh I am puzzled
reived from client : oh no
####################################################
现象分析:
似乎服务器返回的消息,每次都会多返回一个空回车符(或者换行符),导致消息延迟

困惑中.......
望高手不吝赐教

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

[PerlChina] Re: 关于在rename的使用

都用了File::Path 了, 怎么不用  rmtree 呢

unlink 比 rm -rf $file 要高效得多



2009/11/16 Fayland Lam <fayland@gmail.com>
2009/11/16 Fayland Lam <fayland@gmail.com>:
>    rename ("mol_num[$i] , input.mol")||die   $!;
>      move "input.mol , /home_dir/operation";
>
> should be
>    rename(mol_num[$i] , input.mol)||die   $!;

>    rename(mol_num[$i] , "input.mol")||die   $!;

>      move("input.mol" , "/home_dir/operation/");
>
> 2009/11/16 earthminator <naziwh@163.com>:
>>
>> 在Linux中编写一个程序,目的是从mol文件夹中调取文件到operation文件夹中运行,再把结果传到result文件中。因为
>> dssmol.exe只能运行input.mol的文件,所以要把它改名。比且运行结果是一个output文件,然后要把它在给名放到result文件
>> 夹中。于是我编写如下程序:
>> #!/usr/bin/perl
>>
>> use Cwd;
>> use File::Path;
>> use Shell;
>> use File::Copy;
>>
>> $home_dir = cwd;
>> $mol_dir = $home_dir .'/mols';
>> $operation_dir = $home_dir .'/operation';
>> $result_dir = $home_dir.'/result';
>> chair ($mol_dir);  #change to molecules directory
>> @mol = glob ('*.mol');  #get all molecules files
>> $mol_num = @mol;
>> print "Total @mol_num molecules.\n";
>> $i=0;
>> while ($i<$mol_num) {
>>   print "mol_num[$i]";
>>     rename ("mol_num[$i] , input.mol")||die   $!;
>>       move "input.mol , /home_dir/operation";
>>       system "rm -rf $input.mol";
>>       chair($operation_dir); #begin to run MODEL under this directory
>>       system " ./dssmol.exe";
>>          move "output , /home_dir/result/";
>>             system "rm -rf $input.mol";
>>             system "rm -rf $output";
>>                chair($result_dir); #change to result directory
>>             rename ("output , $i")||die   $!;
>>             system "rm -rf $output";
>>
>>
>>   i++};
>> 在运行后出现的问题是
>> Not enough arguments for rename at mol1.pl line 22, near ""mol_num
>> [$i] , input.mol")"
>> Not enough arguments for rename at mol1.pl line 31, near ""output ,
>> $i")"
>> Execution of mol1.pl aborted due to compilation errors.
>>
>> 由于刚学perl,我不知道怎么处理这个问题。。。
>>
>> >>
>>
>
>
>
> --
> Fayland Lam // http://www.fayland.org/
>



--
Fayland Lam // http://www.fayland.org/





--
           Yours Sincerely
                   Zeng Hong

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

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

 
你今天猎婚了吗?马上投猎婚简历