2009年12月26日星期六

Re: [PerlChina] CN Perl Advent Day 25: perlthanks

re

2009/12/26 Michael Zeng <galaxy2004@gmail.com>:
> 感谢你们 让我们知道了 还有这个 Advent 这个节目
>
> 要是经常有就好了
>
>
>
> 2009/12/25 msmouse <msmouse@gmail.com>
>>
>> 感谢Fayland
>> ----------------------------------
>> msmouse@ir.hit.edu.cn
>> msmouse@gmail.com
>>
>>
>> 2009/12/25 Fayland Lam <fayland@gmail.com>
>>>
>>> http://perlchina.org/advent/2009/perlthanks.html
>>>
>>> =for advent_year 2009
>>>
>>> =for advent_day 25
>>>
>>> =for advent_title perlthanks
>>>
>>> =for advent_author Fayland Lam
>>>
>>> 今天是圣诞节,是个感恩的节日。
>>>
>>> 于此同时,我们应当对 perl 的开发者致以最好的祝福。
>>>
>>> 从 perl-5.8.9 开始,perl 都开始带有一个
>>> A<http://perldoc.perl.org/5.8.9/perlthanks.html|perlthanks> 的小程序,该程序将给
>>> perl-porter 新闻组发送感谢信。
>>>
>>> 如果您的 perl 版本小于 5.8.9, 那么可以遵循如下步骤来发送。
>>>
>>> =begin pre
>>>
>>> $ wget
>>> http://search.cpan.org/CPAN/authors/id/L/LB/LBROCARD/perl-5.11.2.tar.bz2
>>> $ tar xvjf perl-5.11.2.tar.bz2
>>> $ cd perl-5.11.2/utils
>>> $ perl perlbug.PL
>>> $ perl perlbug -T
>>>
>>> =end pre
>>>
>>> perlbug -T 或者 perlthanks 启动之后,您就可以编写标题和内容,然后就发送了,非常简单。
>>>
>>> =begin pre
>>>
>>> This program provides an easy way to send a thank-you message
>>> back to the authors and maintainers of perl.
>>>
>>> If you wish to submit a bug report, please run it without the -T
>>> flag (or run the program perlbug rather than perlthanks)
>>>
>>> First of all, please provide a subject for the message.
>>> Subject: Merry Christmas!
>>> Perl's developers may need your email address to contact you for
>>> further information about your issue or to inform you when it is
>>> resolved. If the default shown is not your email address,
>>> please correct it.
>>>
>>> Your address [fayland@perl]: fayland@gmail.com
>>>
>>>
>>> perlbug can send a copy of this report to your local perl
>>> administrator. If the address below is wrong, please correct
>>> it, or enter 'none' or 'yourself' to not send a copy.
>>>
>>> Local perl administrator [root@localhost]: none
>>>
>>>
>>> It's now time to compose your thank-you message.
>>>
>>> Some information about your local perl configuration will
>>> automatically be included at the end of your message, because
>>> we're curious about the different ways that people build and use
>>> perl. If you'd rather not share this information, you're welcome
>>> to delete it.
>>>
>>> You will probably want to use a text editor to enter the body of
>>> your report. If "vi" is the editor you want to use, then just
>>> press Enter, otherwise type in the name of the editor you would
>>> like to use.
>>>
>>> If you have already composed the body of your report, you may
>>> enter "file", and perlbug will prompt you to enter the name of
>>> the file containing your report.
>>>
>>> Editor [vi]: vi
>>>
>>> This is a thank-you report for perl from fayland@gmail.com,
>>> generated with the help of perlbug 1.39 running under perl 5.8.8.
>>>
>>>
>>> -----------------------------------------------------------------
>>> [Please enter your thank-you message here]
>>>
>>> Thanks for all of your work. and Merry Xmas!
>>>
>>> [You're welcome to delete anything below this line]
>>> -----------------------------------------------------------------
>>> ---
>>> Flags:
>>> category=thanks
>>> severity=none
>>> ---
>>> 省略一部分。
>>>
>>> You have finished composing your message. At this point, you have
>>> a few options. You can:
>>>
>>> * [Se]nd the message to perl-thanks@perl.org,
>>> * [D]isplay the message on the screen,
>>> * [R]e-edit the message
>>> * Display or change the message's [su]bject
>>> * Save the message to a [f]ile to mail at another time
>>> * [Q]uit without sending a message
>>>
>>> Action (Send/Display/Edit/Subject/Save to File): Send
>>>
>>>
>>> Are you certain you want to send this message?
>>>
>>> Please type "yes" if you are [no]: yes
>>>
>>> Message sent
>>>
>>> Thank you for taking the time to send a thank-you message!
>>>
>>> =end pre
>>>
>>> 所有的步骤都非常简单,我希望大家都能发送一封邮件来感谢 Perl 的开发者和贡献者。
>>>
>>> =============================================
>>>
>>> 结后语:
>>>
>>> 至此,2009 的 CN Perl Advent Calendar 就结束了。
>>>
>>> 感谢 cnhackTNT, Joe Jiang 和 Alexe, 没有你们,这会是一个孤单的十二月。
>>>
>>> 特别感谢我的妻子对我默默地支持,即使在我儿子生病的时候还能让我来抽空完成这项任务。谢谢。
>>>
>>> 最后,祝大家在新的一年里工作顺利,世事顺心。
>>>
>>> 谢谢,来年再会。
>>>
>>> --
>>> Fayland Lam // http://www.fayland.org/
>>>
>>> --
>>>
>>> 您收到此邮件是因为您订阅了 Google 网上论坛的"PerlChina Mongers 讨论组"论坛。
>>> 要向此网上论坛发帖,请发送电子邮件至 perlchina@googlegroups.com
>>> 要取消订阅此网上论坛,请发送电子邮件至 perlchina+unsubscribe@googlegroups.com
>>> 若有更多问题,请通过 http://groups.google.com/group/perlchina?hl=zh-CN 访问此网上论坛。
>>>
>>>
>>
>> --
>>
>> 您收到此邮件是因为您订阅了 Google 网上论坛的"PerlChina Mongers 讨论组"论坛。
>> 要向此网上论坛发帖,请发送电子邮件至 perlchina@googlegroups.com
>> 要取消订阅此网上论坛,请发送电子邮件至 perlchina+unsubscribe@googlegroups.com
>> 若有更多问题,请通过 http://groups.google.com/group/perlchina?hl=zh-CN 访问此网上论坛。
>
>
>
> --
> Yours Sincerely
> Zeng Hong
>
> --
>
> 您收到此邮件是因为您订阅了 Google 网上论坛的"PerlChina Mongers 讨论组"论坛。
> 要向此网上论坛发帖,请发送电子邮件至 perlchina@googlegroups.com
> 要取消订阅此网上论坛,请发送电子邮件至 perlchina+unsubscribe@googlegroups.com
> 若有更多问题,请通过 http://groups.google.com/group/perlchina?hl=zh-CN 访问此网上论坛。
>

--

您收到此邮件是因为您订阅了 Google 网上论坛的"PerlChina Mongers 讨论组"论坛。
要向此网上论坛发帖,请发送电子邮件至 perlchina@googlegroups.com
要取消订阅此网上论坛,请发送电子邮件至 perlchina+unsubscribe@googlegroups.com
若有更多问题,请通过 http://groups.google.com/group/perlchina?hl=zh-CN 访问此网上论坛。

Re: [PerlChina] CN Perl Advent Day 25: perlthanks

感谢你们 让我们知道了 还有这个 Advent 这个节目
 
要是经常有就好了
 


 
2009/12/25 msmouse <msmouse@gmail.com>
感谢Fayland
----------------------------------
msmouse@ir.hit.edu.cn
msmouse@gmail.com


2009/12/25 Fayland Lam <fayland@gmail.com>

http://perlchina.org/advent/2009/perlthanks.html

=for advent_year 2009

=for advent_day 25

=for advent_title perlthanks

=for advent_author Fayland Lam

今天是圣诞节,是个感恩的节日。

于此同时,我们应当对 perl 的开发者致以最好的祝福。

从 perl-5.8.9 开始,perl 都开始带有一个
A<http://perldoc.perl.org/5.8.9/perlthanks.html|perlthanks> 的小程序,该程序将给
perl-porter 新闻组发送感谢信。

如果您的 perl 版本小于 5.8.9, 那么可以遵循如下步骤来发送。

=begin pre

$ wget http://search.cpan.org/CPAN/authors/id/L/LB/LBROCARD/perl-5.11.2.tar.bz2
$ tar xvjf perl-5.11.2.tar.bz2
$ cd perl-5.11.2/utils
$ perl perlbug.PL
$ perl perlbug -T

=end pre

perlbug -T 或者 perlthanks 启动之后,您就可以编写标题和内容,然后就发送了,非常简单。

=begin pre

This program provides an easy way to send a thank-you message
back to the authors and maintainers of perl.

If you wish to submit a bug report, please run it without the -T
flag (or run the program perlbug rather than perlthanks)

First of all, please provide a subject for the message.
Subject: Merry Christmas!
Perl's developers may need your email address to contact you for
further information about your issue or to inform you when it is
resolved.  If the default shown is not your email address,
please correct it.

Your address [fayland@perl]: fayland@gmail.com


perlbug can send a copy of this report to your local perl
administrator.  If the address below is wrong, please correct
it, or enter 'none' or 'yourself' to not send a copy.

Local perl administrator [root@localhost]: none


It's now time to compose your thank-you message.

Some information about your local perl configuration will
automatically be included at the end of your message, because
we're curious about the different ways that people build and use
perl. If you'd rather not share this information, you're welcome
to delete it.

You will probably want to use a text editor to enter the body of
your report. If "vi" is the editor you want to use, then just
press Enter, otherwise type in the name of the editor you would
like to use.

If you have already composed the body of your report, you may
enter "file", and perlbug will prompt you to enter the name of
the file containing your report.

Editor [vi]: vi

This is a thank-you report for perl from fayland@gmail.com,
generated with the help of perlbug 1.39 running under perl 5.8.8.


-----------------------------------------------------------------
[Please enter your thank-you message here]

Thanks for all of your work. and Merry Xmas!

[You're welcome to delete anything below this line]
-----------------------------------------------------------------
---
Flags:
   category=thanks
   severity=none
---
省略一部分。

You have finished composing your message. At this point, you have
a few options. You can:

   * [Se]nd the message to perl-thanks@perl.org,
   * [D]isplay the message on the screen,
   * [R]e-edit the message
   * Display or change the message's [su]bject
   * Save the message to a [f]ile to mail at another time
   * [Q]uit without sending a message

Action (Send/Display/Edit/Subject/Save to File): Send


Are you certain you want to send this message?

Please type "yes" if you are [no]: yes

Message sent

Thank you for taking the time to send a thank-you message!

=end pre

所有的步骤都非常简单,我希望大家都能发送一封邮件来感谢 Perl 的开发者和贡献者。

=============================================

结后语:

至此,2009 的 CN Perl Advent Calendar 就结束了。

感谢 cnhackTNT, Joe Jiang 和 Alexe, 没有你们,这会是一个孤单的十二月。

特别感谢我的妻子对我默默地支持,即使在我儿子生病的时候还能让我来抽空完成这项任务。谢谢。

最后,祝大家在新的一年里工作顺利,世事顺心。

谢谢,来年再会。

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

--

您收到此邮件是因为您订阅了 Google 网上论坛的“PerlChina Mongers 讨论组”论坛。
要向此网上论坛发帖,请发送电子邮件至 perlchina@googlegroups.com
要取消订阅此网上论坛,请发送电子邮件至 perlchina+unsubscribe@googlegroups.com
若有更多问题,请通过 http://groups.google.com/group/perlchina?hl=zh-CN 访问此网上论坛。



--

您收到此邮件是因为您订阅了 Google 网上论坛的“PerlChina Mongers 讨论组”论坛。
要向此网上论坛发帖,请发送电子邮件至 perlchina@googlegroups.com
要取消订阅此网上论坛,请发送电子邮件至 perlchina+unsubscribe@googlegroups.com
若有更多问题,请通过 http://groups.google.com/group/perlchina?hl=zh-CN 访问此网上论坛。



--
           Yours Sincerely
                   Zeng Hong

--

您收到此邮件是因为您订阅了 Google 网上论坛的"PerlChina Mongers 讨论组"论坛。
要向此网上论坛发帖,请发送电子邮件至 perlchina@googlegroups.com。
要取消订阅此网上论坛,请发送电子邮件至 perlchina+unsubscribe@googlegroups.com。
若有更多问题,请通过 http://groups.google.com/group/perlchina?hl=zh-CN 访问此网上论坛。

2009年12月25日星期五

Re: [PerlChina] CN Perl Advent Day 25: perlthanks

感谢Fayland
----------------------------------
msmouse@ir.hit.edu.cn
msmouse@gmail.com


2009/12/25 Fayland Lam <fayland@gmail.com>
http://perlchina.org/advent/2009/perlthanks.html

=for advent_year 2009

=for advent_day 25

=for advent_title perlthanks

=for advent_author Fayland Lam

今天是圣诞节,是个感恩的节日。

于此同时,我们应当对 perl 的开发者致以最好的祝福。

从 perl-5.8.9 开始,perl 都开始带有一个
A<http://perldoc.perl.org/5.8.9/perlthanks.html|perlthanks> 的小程序,该程序将给
perl-porter 新闻组发送感谢信。

如果您的 perl 版本小于 5.8.9, 那么可以遵循如下步骤来发送。

=begin pre

$ wget http://search.cpan.org/CPAN/authors/id/L/LB/LBROCARD/perl-5.11.2.tar.bz2
$ tar xvjf perl-5.11.2.tar.bz2
$ cd perl-5.11.2/utils
$ perl perlbug.PL
$ perl perlbug -T

=end pre

perlbug -T 或者 perlthanks 启动之后,您就可以编写标题和内容,然后就发送了,非常简单。

=begin pre

This program provides an easy way to send a thank-you message
back to the authors and maintainers of perl.

If you wish to submit a bug report, please run it without the -T
flag (or run the program perlbug rather than perlthanks)

First of all, please provide a subject for the message.
Subject: Merry Christmas!
Perl's developers may need your email address to contact you for
further information about your issue or to inform you when it is
resolved.  If the default shown is not your email address,
please correct it.

Your address [fayland@perl]: fayland@gmail.com


perlbug can send a copy of this report to your local perl
administrator.  If the address below is wrong, please correct
it, or enter 'none' or 'yourself' to not send a copy.

Local perl administrator [root@localhost]: none


It's now time to compose your thank-you message.

Some information about your local perl configuration will
automatically be included at the end of your message, because
we're curious about the different ways that people build and use
perl. If you'd rather not share this information, you're welcome
to delete it.

You will probably want to use a text editor to enter the body of
your report. If "vi" is the editor you want to use, then just
press Enter, otherwise type in the name of the editor you would
like to use.

If you have already composed the body of your report, you may
enter "file", and perlbug will prompt you to enter the name of
the file containing your report.

Editor [vi]: vi

This is a thank-you report for perl from fayland@gmail.com,
generated with the help of perlbug 1.39 running under perl 5.8.8.


-----------------------------------------------------------------
[Please enter your thank-you message here]

Thanks for all of your work. and Merry Xmas!

[You're welcome to delete anything below this line]
-----------------------------------------------------------------
---
Flags:
   category=thanks
   severity=none
---
省略一部分。

You have finished composing your message. At this point, you have
a few options. You can:

   * [Se]nd the message to perl-thanks@perl.org,
   * [D]isplay the message on the screen,
   * [R]e-edit the message
   * Display or change the message's [su]bject
   * Save the message to a [f]ile to mail at another time
   * [Q]uit without sending a message

Action (Send/Display/Edit/Subject/Save to File): Send


Are you certain you want to send this message?

Please type "yes" if you are [no]: yes

Message sent

Thank you for taking the time to send a thank-you message!

=end pre

所有的步骤都非常简单,我希望大家都能发送一封邮件来感谢 Perl 的开发者和贡献者。

=============================================

结后语:

至此,2009 的 CN Perl Advent Calendar 就结束了。

感谢 cnhackTNT, Joe Jiang 和 Alexe, 没有你们,这会是一个孤单的十二月。

特别感谢我的妻子对我默默地支持,即使在我儿子生病的时候还能让我来抽空完成这项任务。谢谢。

最后,祝大家在新的一年里工作顺利,世事顺心。

谢谢,来年再会。

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

--

您收到此邮件是因为您订阅了 Google 网上论坛的“PerlChina Mongers 讨论组”论坛。
要向此网上论坛发帖,请发送电子邮件至 perlchina@googlegroups.com
要取消订阅此网上论坛,请发送电子邮件至 perlchina+unsubscribe@googlegroups.com
若有更多问题,请通过 http://groups.google.com/group/perlchina?hl=zh-CN 访问此网上论坛。



--

您收到此邮件是因为您订阅了 Google 网上论坛的“PerlChina Mongers 讨论组”论坛。
要向此网上论坛发帖,请发送电子邮件至 perlchina@googlegroups.com。
要取消订阅此网上论坛,请发送电子邮件至 perlchina+unsubscribe@googlegroups.com。
若有更多问题,请通过 http://groups.google.com/group/perlchina?hl=zh-CN 访问此网上论坛。

Re: [PerlChina] CN Perl Advent Day 25: perlthanks

我要感谢FAYLAND 8-)

Fayland Lam wrote:
> http://perlchina.org/advent/2009/perlthanks.html
>
> =for advent_year 2009
>
> =for advent_day 25
>
> =for advent_title perlthanks
>
> =for advent_author Fayland Lam
>
> 今天是圣诞节,是个感恩的节日。
>
> 于此同时,我们应当对 perl 的开发者致以最好的祝福。
>
> 从 perl-5.8.9 开始,perl 都开始带有一个
> A<http://perldoc.perl.org/5.8.9/perlthanks.html|perlthanks> 的小程序,该程序将给
> perl-porter 新闻组发送感谢信。
>
> 如果您的 perl 版本小于 5.8.9, 那么可以遵循如下步骤来发送。
>
> =begin pre
>
> $ wget http://search.cpan.org/CPAN/authors/id/L/LB/LBROCARD/perl-5.11.2.tar.bz2
> $ tar xvjf perl-5.11.2.tar.bz2
> $ cd perl-5.11.2/utils
> $ perl perlbug.PL
> $ perl perlbug -T
>
> =end pre
>
> perlbug -T 或者 perlthanks 启动之后,您就可以编写标题和内容,然后就发送了,非常简单。
>
> =begin pre
>
> This program provides an easy way to send a thank-you message
> back to the authors and maintainers of perl.
>
> If you wish to submit a bug report, please run it without the -T
> flag (or run the program perlbug rather than perlthanks)
>
> First of all, please provide a subject for the message.
> Subject: Merry Christmas!
> Perl's developers may need your email address to contact you for
> further information about your issue or to inform you when it is
> resolved. If the default shown is not your email address,
> please correct it.
>
> Your address [fayland@perl]: fayland@gmail.com
>
>
> perlbug can send a copy of this report to your local perl
> administrator. If the address below is wrong, please correct
> it, or enter 'none' or 'yourself' to not send a copy.
>
> Local perl administrator [root@localhost]: none
>
>
> It's now time to compose your thank-you message.
>
> Some information about your local perl configuration will
> automatically be included at the end of your message, because
> we're curious about the different ways that people build and use
> perl. If you'd rather not share this information, you're welcome
> to delete it.
>
> You will probably want to use a text editor to enter the body of
> your report. If "vi" is the editor you want to use, then just
> press Enter, otherwise type in the name of the editor you would
> like to use.
>
> If you have already composed the body of your report, you may
> enter "file", and perlbug will prompt you to enter the name of
> the file containing your report.
>
> Editor [vi]: vi
>
> This is a thank-you report for perl from fayland@gmail.com,
> generated with the help of perlbug 1.39 running under perl 5.8.8.
>
>
> -----------------------------------------------------------------
> [Please enter your thank-you message here]
>
> Thanks for all of your work. and Merry Xmas!
>
> [You're welcome to delete anything below this line]
> -----------------------------------------------------------------
> ---
> Flags:
> category=thanks
> severity=none
> ---
> 省略一部分。
>
> You have finished composing your message. At this point, you have
> a few options. You can:
>
> * [Se]nd the message to perl-thanks@perl.org,
> * [D]isplay the message on the screen,
> * [R]e-edit the message
> * Display or change the message's [su]bject
> * Save the message to a [f]ile to mail at another time
> * [Q]uit without sending a message
>
> Action (Send/Display/Edit/Subject/Save to File): Send
>
>
> Are you certain you want to send this message?
>
> Please type "yes" if you are [no]: yes
>
> Message sent
>
> Thank you for taking the time to send a thank-you message!
>
> =end pre
>
> 所有的步骤都非常简单,我希望大家都能发送一封邮件来感谢 Perl 的开发者和贡献者。
>
> =============================================
>
> 结后语:
>
> 至此,2009 的 CN Perl Advent Calendar 就结束了。
>
> 感谢 cnhackTNT, Joe Jiang 和 Alexe, 没有你们,这会是一个孤单的十二月。
>
> 特别感谢我的妻子对我默默地支持,即使在我儿子生病的时候还能让我来抽空完成这项任务。谢谢。
>
> 最后,祝大家在新的一年里工作顺利,世事顺心。
>
> 谢谢,来年再会。
>
>


--
Perl乐事 -- http://www.perlersh.org
我的博客 -- http://www.perlersh.org/blog.html
揭谛揭谛,波罗揭谛,波罗僧揭谛,菩提萨婆诃。

--

您收到此邮件是因为您订阅了 Google 网上论坛的"PerlChina Mongers 讨论组"论坛。
要向此网上论坛发帖,请发送电子邮件至 perlchina@googlegroups.com
要取消订阅此网上论坛,请发送电子邮件至 perlchina+unsubscribe@googlegroups.com
若有更多问题,请通过 http://groups.google.com/group/perlchina?hl=zh-CN 访问此网上论坛。

[PerlChina] CN Perl Advent Day 25: perlthanks

http://perlchina.org/advent/2009/perlthanks.html

=for advent_year 2009

=for advent_day 25

=for advent_title perlthanks

=for advent_author Fayland Lam

今天是圣诞节,是个感恩的节日。

于此同时,我们应当对 perl 的开发者致以最好的祝福。

从 perl-5.8.9 开始,perl 都开始带有一个
A<http://perldoc.perl.org/5.8.9/perlthanks.html|perlthanks> 的小程序,该程序将给
perl-porter 新闻组发送感谢信。

如果您的 perl 版本小于 5.8.9, 那么可以遵循如下步骤来发送。

=begin pre

$ wget http://search.cpan.org/CPAN/authors/id/L/LB/LBROCARD/perl-5.11.2.tar.bz2
$ tar xvjf perl-5.11.2.tar.bz2
$ cd perl-5.11.2/utils
$ perl perlbug.PL
$ perl perlbug -T

=end pre

perlbug -T 或者 perlthanks 启动之后,您就可以编写标题和内容,然后就发送了,非常简单。

=begin pre

This program provides an easy way to send a thank-you message
back to the authors and maintainers of perl.

If you wish to submit a bug report, please run it without the -T
flag (or run the program perlbug rather than perlthanks)

First of all, please provide a subject for the message.
Subject: Merry Christmas!
Perl's developers may need your email address to contact you for
further information about your issue or to inform you when it is
resolved. If the default shown is not your email address,
please correct it.

Your address [fayland@perl]: fayland@gmail.com


perlbug can send a copy of this report to your local perl
administrator. If the address below is wrong, please correct
it, or enter 'none' or 'yourself' to not send a copy.

Local perl administrator [root@localhost]: none


It's now time to compose your thank-you message.

Some information about your local perl configuration will
automatically be included at the end of your message, because
we're curious about the different ways that people build and use
perl. If you'd rather not share this information, you're welcome
to delete it.

You will probably want to use a text editor to enter the body of
your report. If "vi" is the editor you want to use, then just
press Enter, otherwise type in the name of the editor you would
like to use.

If you have already composed the body of your report, you may
enter "file", and perlbug will prompt you to enter the name of
the file containing your report.

Editor [vi]: vi

This is a thank-you report for perl from fayland@gmail.com,
generated with the help of perlbug 1.39 running under perl 5.8.8.


-----------------------------------------------------------------
[Please enter your thank-you message here]

Thanks for all of your work. and Merry Xmas!

[You're welcome to delete anything below this line]
-----------------------------------------------------------------
---
Flags:
category=thanks
severity=none
---
省略一部分。

You have finished composing your message. At this point, you have
a few options. You can:

* [Se]nd the message to perl-thanks@perl.org,
* [D]isplay the message on the screen,
* [R]e-edit the message
* Display or change the message's [su]bject
* Save the message to a [f]ile to mail at another time
* [Q]uit without sending a message

Action (Send/Display/Edit/Subject/Save to File): Send


Are you certain you want to send this message?

Please type "yes" if you are [no]: yes

Message sent

Thank you for taking the time to send a thank-you message!

=end pre

所有的步骤都非常简单,我希望大家都能发送一封邮件来感谢 Perl 的开发者和贡献者。

=============================================

结后语:

至此,2009 的 CN Perl Advent Calendar 就结束了。

感谢 cnhackTNT, Joe Jiang 和 Alexe, 没有你们,这会是一个孤单的十二月。

特别感谢我的妻子对我默默地支持,即使在我儿子生病的时候还能让我来抽空完成这项任务。谢谢。

最后,祝大家在新的一年里工作顺利,世事顺心。

谢谢,来年再会。

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

--

您收到此邮件是因为您订阅了 Google 网上论坛的"PerlChina Mongers 讨论组"论坛。
要向此网上论坛发帖,请发送电子邮件至 perlchina@googlegroups.com
要取消订阅此网上论坛,请发送电子邮件至 perlchina+unsubscribe@googlegroups.com
若有更多问题,请通过 http://groups.google.com/group/perlchina?hl=zh-CN 访问此网上论坛。

Re: [PerlChina] perlcc 编译带模块的perl源码的问题

是不是要写个makefile

2009/12/25 zhihua zheng <zhihua.zheng@gmail.com>
用 perlcc编译一个简单的不带模块的perl源码
perlcc -o abc perl.pl
就可以了!

但是如果我的源码里面使用了模块,
同样的编译:
perlcc -o abc perl.pl
没有任何错误提示,

再运行该程序,从错误报告上可以看出是用到模块的地方,好像模块没运用上。

集思广益不知道大家在这个问题上是怎么解决的?  多谢大家了!

--

您收到此邮件是因为您订阅了 Google 网上论坛的“PerlChina Mongers 讨论组”论坛。
要向此网上论坛发帖,请发送电子邮件至 perlchina@googlegroups.com
要取消订阅此网上论坛,请发送电子邮件至 perlchina+unsubscribe@googlegroups.com
若有更多问题,请通过 http://groups.google.com/group/perlchina?hl=zh-CN 访问此网上论坛。

--

您收到此邮件是因为您订阅了 Google 网上论坛的"PerlChina Mongers 讨论组"论坛。
要向此网上论坛发帖,请发送电子邮件至 perlchina@googlegroups.com。
要取消订阅此网上论坛,请发送电子邮件至 perlchina+unsubscribe@googlegroups.com。
若有更多问题,请通过 http://groups.google.com/group/perlchina?hl=zh-CN 访问此网上论坛。

Re: [PerlChina] 关于PERL和PHP的融合的思考

这个事情,有不少人关注的,只是没有形成一个权威或标准,我觉得这
是一件蛮不错的事。
BTW:大家在回复的时候,把一些没用的签名信息什么的顺手删除一下吧!

2009/12/25 truncatei <truncatei@gmail.com>
WEB用的几个主要模块
Catalyst
CGI::Application
后者简单一些,我试过用cpan装第一个,依赖的package装了很多很多。

给开发加速的问题,我觉得还是在封装上,整理出一套通用的web开发环境难免有各种不尽人意的地方。
这么多人用php,有一定规模的程序是不是也建立在一套框架基础上的?比如Zend/Symfony

我觉得大家的问题可能是因为每次开始一个项目就需要做很多底层的搭建工作,重复一次又一次,
如果是这样,可以考虑用perl hack一下,毕竟是在用perl嘛。

在 2009-12-25,下午5:34, alexe.cn@gmail.com 写道:

需要有人整理出一���web��的perl���境。
�常用模�都�去。 perl�webserver也可以用的,大�模用��也可以。
主要是��如果方便了,有一些性能�失是都可以接受的。


2009/12/25 Lin <i@lxl.cn>
不是说 Perl 做 Web 开发写 CGI 复杂,而是不少东西,要么自己分析,
如 %ENV 的提取,要么引入模组,而 Perl 的模组太分散,有的版本经
常更新,有的数年没更新,而 PHP 这方面就做的比较好,向下兼容或
不断升级。

2009/12/25 truncatei <truncatei@gmail.com>

php是专为web做的,就是为了简化web开发,把各种各样的东西都吸收进来。

perl肯定不是为了web而生的。作为一门语言,它一直保留了语言的特性和尽量少的核心函数。
perl写web也没有多复杂:Lighty+FCGI能够很简单地解决大部分问题。

--

您收到此邮件是因为您订阅了 Google 网上论坛的"PerlChina Mongers 讨论组"论坛。
要向此网上论坛发帖,请发送电子邮件至 perlchina@googlegroups.com。
要取消订阅此网上论坛,请发送电子邮件至 perlchina+unsubscribe@googlegroups.com。
若有更多问题,请通过 http://groups.google.com/group/perlchina?hl=zh-CN 访问此网上论坛。

Re: [PerlChina] 关于PERL和PHP的融合的思考

WEB用的几个主要模块
Catalyst
CGI::Application
后者简单一些,我试过用cpan装第一个,依赖的package装了很多很多。

给开发加速的问题,我觉得还是在封装上,整理出一套通用的web开发环境难免有各种不尽人意的地方。
这么多人用php,有一定规模的程序是不是也建立在一套框架基础上的?比如Zend/Symfony

我觉得大家的问题可能是因为每次开始一个项目就需要做很多底层的搭建工作,重复一次又一次,
如果是这样,可以考虑用perl hack一下,毕竟是在用perl嘛。

在 2009-12-25,下午5:34, alexe.cn@gmail.com 写道:

需要有人整理出一���web��的perl���境。
�常用模�都�去。 perl�webserver也可以用的,大�模用��也可以。
主要是��如果方便了,有一些性能�失是都可以接受的。


2009/12/25 Lin <i@lxl.cn>
不是说 Perl 做 Web 开发写 CGI 复杂,而是不少东西,要么自己分析,
如 %ENV 的提取,要么引入模组,而 Perl 的模组太分散,有的版本经
常更新,有的数年没更新,而 PHP 这方面就做的比较好,向下兼容或
不断升级。

2009/12/25 truncatei <truncatei@gmail.com>

php是专为web做的,就是为了简化web开发,把各种各样的东西都吸收进来。

perl肯定不是为了web而生的。作为一门语言,它一直保留了语言的特性和尽量少的核心函数。
perl写web也没有多复杂:Lighty+FCGI能够很简单地解决大部分问题。

--

您收到此邮件是因为您订阅了 Google 网上论坛的"PerlChina Mongers 讨论组"论坛。
要向此网上论坛发帖,请发送电子邮件至 perlchina@googlegroups.com
要取消订阅此网上论坛,请发送电子邮件至 perlchina+unsubscribe@googlegroups.com
若有更多问题,请通过 http://groups.google.com/group/perlchina?hl=zh-CN 访问此网上论坛。


--

您收到此邮件是因为您订阅了 Google 网上论坛的"PerlChina Mongers 讨论组"论坛。
要向此网上论坛发帖,请发送电子邮件至 perlchina@googlegroups.com。
要取消订阅此网上论坛,请发送电子邮件至 perlchina+unsubscribe@googlegroups.com。
若有更多问题,请通过 http://groups.google.com/group/perlchina?hl=zh-CN 访问此网上论坛。

Re: [PerlChina] 关于PERL和PHP的融合的思考


alexe.cn@gmail.com wrote:
需要有人整理出一���web��的perl���境。
所以PSGI给了大家挺爽的感觉。
或者是以前那种,将APACHE+PERL(+模块)+MODPERL(2)+MYSQL的软件发布一次?
�常用模�都�去。 perl�webserver也可以用的,大�模用��也可以。
同一种功能的实现模块可能有几种,要挑出相对好的。不象PHP,所有功能都有一个函数来实现。
主要是��如果方便了,有一些性能�失是都可以接受的。


2009/12/25 Lin <i@lxl.cn>
不是说 Perl 做 Web 开发写 CGI 复杂,而是不少东西,要么自己分析,
如 %ENV 的提取,要么引入模组,而 Perl 的模组太分散,有的版本经
常更新,有的数年没更新,而 PHP 这方面就做的比较好,向下兼容或
不断升级。

2009/12/25 truncatei <truncatei@gmail.com>

php是专为web做的,就是为了简化web开发,把各种各样的东西都吸收进来。

perl肯定不是为了web而生的。作为一门语言,它一直保留了语言的特性和尽量少的核心函数。
perl写web也没有多复杂:Lighty+FCGI能够很简单地解决大部分问题。

--




--  Perl乐事 -- http://www.perlersh.org 我的博客 -- http://www.perlersh.org/blog.html 揭谛揭谛,波罗揭谛,波罗僧揭谛,菩提萨婆诃。 

Re: [PerlChina] 关于PERL和PHP的融合的思考

需要有人整理出一���web��的perl���境。
�常用模�都�去。 perl�webserver也可以用的,大�模用��也可以。
主要是��如果方便了,有一些性能�失是都可以接受的。


2009/12/25 Lin <i@lxl.cn>
不是说 Perl 做 Web 开发写 CGI 复杂,而是不少东西,要么自己分析,
如 %ENV 的提取,要么引入模组,而 Perl 的模组太分散,有的版本经
常更新,有的数年没更新,而 PHP 这方面就做的比较好,向下兼容或
不断升级。

2009/12/25 truncatei <truncatei@gmail.com>

php是专为web做的,就是为了简化web开发,把各种各样的东西都吸收进来。

perl肯定不是为了web而生的。作为一门语言,它一直保留了语言的特性和尽量少的核心函数。
perl写web也没有多复杂:Lighty+FCGI能够很简单地解决大部分问题。

--

您收到此邮件是因为您订阅了 Google 网上论坛的"PerlChina Mongers 讨论组"论坛。
要向此网上论坛发帖,请发送电子邮件至 perlchina@googlegroups.com
要取消订阅此网上论坛,请发送电子邮件至 perlchina+unsubscribe@googlegroups.com
若有更多问题,请通过 http://groups.google.com/group/perlchina?hl=zh-CN 访问此网上论坛。

--

您收到此邮件是因为您订阅了 Google 网上论坛的"PerlChina Mongers 讨论组"论坛。
要向此网上论坛发帖,请发送电子邮件至 perlchina@googlegroups.com。
要取消订阅此网上论坛,请发送电子邮件至 perlchina+unsubscribe@googlegroups.com。
若有更多问题,请通过 http://groups.google.com/group/perlchina?hl=zh-CN 访问此网上论坛。

Re: [PerlChina] 关于PERL和PHP的融合的思考

比如 Perl 大家经常会用:
 
use Data::Dumper;
print Dumper( ... );
 
而在 PHP 里面,可以有:
 
var_dumnp( ... );
print_r( ... );
serialize( ... );
 
等等,这是很明显的区别。

--

您收到此邮件是因为您订阅了 Google 网上论坛的“PerlChina Mongers 讨论组”论坛。
要向此网上论坛发帖,请发送电子邮件至 perlchina@googlegroups.com。
要取消订阅此网上论坛,请发送电子邮件至 perlchina+unsubscribe@googlegroups.com。
若有更多问题,请通过 http://groups.google.com/group/perlchina?hl=zh-CN 访问此网上论坛。

Re: [PerlChina] 关于PERL和PHP的融合的思考

不是说 Perl 做 Web 开发写 CGI 复杂,而是不少东西,要么自己分析,
如 %ENV 的提取,要么引入模组,而 Perl 的模组太分散,有的版本经
常更新,有的数年没更新,而 PHP 这方面就做的比较好,向下兼容或
不断升级。

2009/12/25 truncatei <truncatei@gmail.com>
php是专为web做的,就是为了简化web开发,把各种各样的东西都吸收进来。

perl肯定不是为了web而生的。作为一门语言,它一直保留了语言的特性和尽量少的核心函数。
perl写web也没有多复杂:Lighty+FCGI能够很简单地解决大部分问题。

--

您收到此邮件是因为您订阅了 Google 网上论坛的"PerlChina Mongers 讨论组"论坛。
要向此网上论坛发帖,请发送电子邮件至 perlchina@googlegroups.com。
要取消订阅此网上论坛,请发送电子邮件至 perlchina+unsubscribe@googlegroups.com。
若有更多问题,请通过 http://groups.google.com/group/perlchina?hl=zh-CN 访问此网上论坛。

2009年12月24日星期四

Re: [PerlChina] 关于PERL和PHP的融合的思考

php是专为web做的,就是为了简化web开发,把各种各样的东西都吸收进来。

perl肯定不是为了web而生的。作为一门语言,它一直保留了语言的特性和尽量少的核心函数。
perl写web也没有多复杂:Lighty+FCGI能够很简单地解决大部分问题。

在 2009-12-25,下午2:50, Lin(林兴陆) 写道:

呃…
我们都跑题了不是,大家说说 PHP Functions 或某些特性引入 PERL 的可行性吧!

2009/12/25 smallfish <smallfish.xy@gmail.com>
比如用modperl重写apache的模块,巨爽。低调路过~~

--

您收到此邮件是因为您订阅了 Google 网上论坛的"PerlChina Mongers 讨论组"论坛。
要向此网上论坛发帖,请发送电子邮件至 perlchina@googlegroups.com。
要取消订阅此网上论坛,请发送电子邮件至 perlchina+unsubscribe@googlegroups.com。
若有更多问题,请通过 http://groups.google.com/group/perlchina?hl=zh-CN 访问此网上论坛。

Re: [PerlChina] 关于PERL和PHP的融合的思考

呃…
我们都跑题了不是,大家说说 PHP Functions 或某些特性引入 PERL 的可行性吧!

2009/12/25 smallfish <smallfish.xy@gmail.com>
比如用modperl重写apache的模块,巨爽。低调路过~~

--

您收到此邮件是因为您订阅了 Google 网上论坛的"PerlChina Mongers 讨论组"论坛。
要向此网上论坛发帖,请发送电子邮件至 perlchina@googlegroups.com。
要取消订阅此网上论坛,请发送电子邮件至 perlchina+unsubscribe@googlegroups.com。
若有更多问题,请通过 http://groups.google.com/group/perlchina?hl=zh-CN 访问此网上论坛。

Re: [PerlChina] 关于PERL和PHP的融合的思考

但是在性能上,容易出现瓶颈,内存开销、会比 C 语言写出来的耗费的资源大,
相对来说,适合中小型应用吧,或者某种定制的应用,比如基于推拉技术的聊天室,
要是用 Perl 自己写 Web Server 实现就比较轻松,因为传输的量小,而如果是涉
及大文件传输就不太合适了。另外,像这几年比较流行的搜索提示建议,用这种方
式就比较好,前段时间看过用 Python 写的,这东西更像 http://hc.apache.org HttpClient 这玩意。

2009/12/25 <alexe.cn@gmail.com>
yes, 就是��。
其�我�得用perl��web�程,不要用什么框架,那�概念太多��的很,�什么效率。
直接�webserver然后�做web�程是比�爽的,什么都可以用,根本�什么束�,概念死清楚。�才能��出perl的�大能力,php就比不上了。

2009/12/25 Lin <i@lxl.cn>
给你看个东西,以前写的:
 
 
用纯 perl 写的 webserver,一个模组也不用,miniperl 也可行,
 
调一些外部命令,实现的一个批量发送照片到指定邮箱的功能。
 
后来我用这个 webserver 搭了 Nightly Build 很方便,只要在浏览器里。

--

您收到此邮件是因为您订阅了 Google 网上论坛的“PerlChina Mongers 讨论组”论坛。
要向此网上论坛发帖,请发送电子邮件至 perlchina@googlegroups.com。
要取消订阅此网上论坛,请发送电子邮件至 perlchina+unsubscribe@googlegroups.com。
若有更多问题,请通过 http://groups.google.com/group/perlchina?hl=zh-CN 访问此网上论坛。

Re: [PerlChina] 关于PERL和PHP的融合的思考

比如用modperl重写apache的模块,巨爽。低调路过~~
--
blog: http://chenxiaoyu.org/blog/


2009/12/25 <alexe.cn@gmail.com>
yes, 就是��。
其�我�得用perl��web�程,不要用什么框架,那�概念太多��的很,�什么效率。
直接�webserver然后�做web�程是比�爽的,什么都可以用,根本�什么束�,概念死清楚。�才能��出perl的�大能力,php就比不上了。

2009/12/25 Lin <i@lxl.cn>
给你看个东西,以前写的:
 
 
用纯 perl 写的 webserver,一个模组也不用,miniperl 也可行,
 
调一些外部命令,实现的一个批量发送照片到指定邮箱的功能。
 
后来我用这个 webserver 搭了 Nightly Build 很方便,只要在浏览器里。

2009/12/25 <alexe.cn@gmail.com>

呵呵,把webserver用perl��,然后把那些perl的framework直接扔到webserver中去,很多的lib部分直接重�一下可以直接�用,然后形成一�相�完整的���境,��也��比�好?
�人感�。
主要是���化了很多��概念,��的�西少了。
老的功能固定在整��境中不用再去��。
而且在��的模式下��可以有很多新功能。

我想像中是��的。

--

您收到此邮件是因为您订阅了 Google 网上论坛的“PerlChina Mongers 讨论组”论坛。
要向此网上论坛发帖,请发送电子邮件至 perlchina@googlegroups.com
要取消订阅此网上论坛,请发送电子邮件至 perlchina+unsubscribe@googlegroups.com
若有更多问题,请通过 http://groups.google.com/group/perlchina?hl=zh-CN 访问此网上论坛。

--

您收到此邮件是因为您订阅了 Google 网上论坛的“PerlChina Mongers 讨论组”论坛。
要向此网上论坛发帖,请发送电子邮件至 perlchina@googlegroups.com
要取消订阅此网上论坛,请发送电子邮件至 perlchina+unsubscribe@googlegroups.com
若有更多问题,请通过 http://groups.google.com/group/perlchina?hl=zh-CN 访问此网上论坛。

--

您收到此邮件是因为您订阅了 Google 网上论坛的"PerlChina Mongers 讨论组"论坛。
要向此网上论坛发帖,请发送电子邮件至 perlchina@googlegroups.com。
要取消订阅此网上论坛,请发送电子邮件至 perlchina+unsubscribe@googlegroups.com。
若有更多问题,请通过 http://groups.google.com/group/perlchina?hl=zh-CN 访问此网上论坛。

Re: [PerlChina] 关于PERL和PHP的融合的思考

yes, 就是��。
其�我�得用perl��web�程,不要用什么框架,那�概念太多��的很,�什么效率。
直接�webserver然后�做web�程是比�爽的,什么都可以用,根本�什么束�,概念死清楚。�才能��出perl的�大能力,php就比不上了。

2009/12/25 Lin <i@lxl.cn>
给你看个东西,以前写的:
 
 
用纯 perl 写的 webserver,一个模组也不用,miniperl 也可行,
 
调一些外部命令,实现的一个批量发送照片到指定邮箱的功能。
 
后来我用这个 webserver 搭了 Nightly Build 很方便,只要在浏览器里。

2009/12/25 <alexe.cn@gmail.com>

呵呵,把webserver用perl��,然后把那些perl的framework直接扔到webserver中去,很多的lib部分直接重�一下可以直接�用,然后形成一�相�完整的���境,��也��比�好?
�人感�。
主要是���化了很多��概念,��的�西少了。
老的功能固定在整��境中不用再去��。
而且在��的模式下��可以有很多新功能。

我想像中是��的。

--

您收到此邮件是因为您订阅了 Google 网上论坛的“PerlChina Mongers 讨论组”论坛。
要向此网上论坛发帖,请发送电子邮件至 perlchina@googlegroups.com
要取消订阅此网上论坛,请发送电子邮件至 perlchina+unsubscribe@googlegroups.com
若有更多问题,请通过 http://groups.google.com/group/perlchina?hl=zh-CN 访问此网上论坛。

--

您收到此邮件是因为您订阅了 Google 网上论坛的"PerlChina Mongers 讨论组"论坛。
要向此网上论坛发帖,请发送电子邮件至 perlchina@googlegroups.com。
要取消订阅此网上论坛,请发送电子邮件至 perlchina+unsubscribe@googlegroups.com。
若有更多问题,请通过 http://groups.google.com/group/perlchina?hl=zh-CN 访问此网上论坛。

Re: [PerlChina] 关于PERL和PHP的融合的思考

给你看个东西,以前写的:
 
 
用纯 perl 写的 webserver,一个模组也不用,miniperl 也可行,
 
调一些外部命令,实现的一个批量发送照片到指定邮箱的功能。
 
后来我用这个 webserver 搭了 Nightly Build 很方便,只要在浏览器里。

2009/12/25 <alexe.cn@gmail.com>
呵呵,把webserver用perl��,然后把那些perl的framework直接扔到webserver中去,很多的lib部分直接重�一下可以直接�用,然后形成一�相�完整的���境,��也��比�好?
�人感�。
主要是���化了很多��概念,��的�西少了。
老的功能固定在整��境中不用再去��。
而且在��的模式下��可以有很多新功能。

我想像中是��的。

--

您收到此邮件是因为您订阅了 Google 网上论坛的“PerlChina Mongers 讨论组”论坛。
要向此网上论坛发帖,请发送电子邮件至 perlchina@googlegroups.com。
要取消订阅此网上论坛,请发送电子邮件至 perlchina+unsubscribe@googlegroups.com。
若有更多问题,请通过 http://groups.google.com/group/perlchina?hl=zh-CN 访问此网上论坛。

Re: Re: [PerlChina] CN Perl Advent Day 24: PSGI/Plack

��是框架�webserver之�的映射。
不�,感���弄得是更麻�了。
多少�啊?

不���模�主要�是解�框架��者的��,而不是web��者的��。




2009/12/25 xsir317 <xsir317@163.com>
框架的框架?
 
 
2009-12-25


发件人: Kane
发送时间: 2009-12-25  08:39:07
收件人: perlchina
抄送:
主题: Re: [PerlChina] CN Perl Advent Day 24: PSGI/Plack
Merry X'mas

2009/12/24 Fayland Lam <fayland@gmail.com>
http://perlchina.org/advent/2009/Plack.html

=for advent_year 2009

=for advent_day 24

=for advent_title PSGI/Plack

=for advent_author Fayland Lam

想明白 M<Plack> 之前,很有必要认识一下 M<PSGI>。

PSGI 是 Perl Web Server Gateway Interface Specification 的简称。它借鉴于 Python
的 A<http://www.python.org/dev/peps/pep-0333/|WSGI> 和 Ruby 的
A<http://rack.rubyforge.org/|Rack>

而 Plack 是对 PSGI SPEC 的一个实现。

一个更直观的认识是看如下这个图片:

<img src='http://farm3.static.flickr.com/2763/4177260769_3ff8c0eb90.jpg'
border='0' />

PSGI/Plack 是个很新的事物,由 Tatsuhiko Miyagawa
在今年十月所开发。虽然时间很短,但是发展很迅速。到目前为止已经有好多个基于 Plack 的应用,如 mst 的
M<Web::Simple>, 作者本人的 M<Tatsumaki> 等 framework 和
A<http://github.com/frioux/perlcritic-web> 等例子。而更多的是 Plack 的
Middleware.

Middleware 是个中间件。整个概念跟下面的图片很类似:

<img src='http://pylonshq.com/docs/en/0.9.7/_images/pylons_as_onion.png'
border='0' />

它的意义在于更底层的操作整个 HTTP 流程,而无须在框架里处理。不同的框架如 Catalyst 或 CGI::Application,
都可以使用相同的中间件,只要它们都跑在 PSGI 上。

PSGI 是框架作者的福音,写一个符合 PSGI SPEC 的框架,您无须去写 Engine, Plack 的 Server 有
Standalone, AnyEvent, 或者运行在 lighttpd, nginx 或 Apache. 您也无须去写一些
Plugins, 所有的 Middleware 都可以运用在您的框架之上。

如果您要写一个简单的 server 来运行一个简单的 cgi, 你也可以直接写成 psgi 格式,这样您无须 Apache
或其他服务器,使用简单的 Standalone 或 AnyEvent 来运行就可以了。

本文并不描述如何安装启动 Plack 或者介绍某个中间件,这方面的内容都可以在今年的
A<http://advent.plackperl.org/|Plack Advent Calendar> 里看到。:)

介于水平有限,只能介绍到这里。

今天是平安夜,祝各位平安夜快乐。谢谢。

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

--

您收到此邮件是因为您订阅了 Google 网上论坛的“PerlChina Mongers 讨论组”论坛。
要向此网上论坛发帖,请发送电子邮件至 perlchina@googlegroups.com
要取消订阅此网上论坛,请发送电子邮件至 perlchina+unsubscribe@googlegroups.com
若有更多问题,请通过 http://groups.google.com/group/perlchina?hl=zh-CN 访问此网上论坛。



--

您收到此邮件是因为您订阅了 Google 网上论坛的“PerlChina Mongers 讨论组”论坛。
要向此网上论坛发帖,请发送电子邮件至 perlchina@googlegroups.com
要取消订阅此网上论坛,请发送电子邮件至 perlchina+unsubscribe@googlegroups.com
若有更多问题,请通过 http://groups.google.com/group/perlchina?hl=zh-CN 访问此网上论坛。

--

您收到此邮件是因为您订阅了 Google 网上论坛的“PerlChina Mongers 讨论组”论坛。
要向此网上论坛发帖,请发送电子邮件至 perlchina@googlegroups.com
要取消订阅此网上论坛,请发送电子邮件至 perlchina+unsubscribe@googlegroups.com
若有更多问题,请通过 http://groups.google.com/group/perlchina?hl=zh-CN 访问此网上论坛。

--

您收到此邮件是因为您订阅了 Google 网上论坛的"PerlChina Mongers 讨论组"论坛。
要向此网上论坛发帖,请发送电子邮件至 perlchina@googlegroups.com。
要取消订阅此网上论坛,请发送电子邮件至 perlchina+unsubscribe@googlegroups.com。
若有更多问题,请通过 http://groups.google.com/group/perlchina?hl=zh-CN 访问此网上论坛。

Re: 答复: [PerlChina] 关于PERL和PHP的融合的思考

如果把 PHP 做成一个 Perl 的模组呢?
 
不是用 Shell 的方式,而是一个 Modules 可能效果高,反过来。
 
如 use PHP; 就可以 print_r( $_SERVER ); 、serialize( $_POST ) 和 unserialize( ) 之类的…

 
2009/12/25 zhihua zheng <zhihua.zheng@gmail.com>
主要看在什么地方使用了,我自己做了个基因检测系统,算法上就用perl.外包装上用php。结合使用效果非常好! 呵呵!

2009/12/25 宇捷 <hfahe@163.com>

Web开发方面 PHPPerl中汲取经验 一直在完善和进步 在这方面Perl已经落后了

--

您收到此邮件是因为您订阅了 Google 网上论坛的“PerlChina Mongers 讨论组”论坛。
要向此网上论坛发帖,请发送电子邮件至 perlchina@googlegroups.com。
要取消订阅此网上论坛,请发送电子邮件至 perlchina+unsubscribe@googlegroups.com。
若有更多问题,请通过 http://groups.google.com/group/perlchina?hl=zh-CN 访问此网上论坛。

Re: [PerlChina] 关于PERL和PHP的融合的思考

呵呵,把webserver用perl��,然后把那些perl的framework直接扔到webserver中去,很多的lib部分直接重�一下可以直接�用,然后形成一�相�完整的���境,��也��比�好?
�人感�。
主要是���化了很多��概念,��的�西少了。
老的功能固定在整��境中不用再去��。
而且在��的模式下��可以有很多新功能。

我想像中是��的。



2009/12/25 Lin <i@lxl.cn>
这些年 PHP 比较火,虽然自己还是 Perl 阵营的人,但安装一堆模组,毕竟不够方便,兼容性也不好,
这方面在 PHP 里面,就做的比较好,官方提供了比较完整的函数库,而 Perl 自身提供的函数库就显得
太少了,PHP 最早就是由 Perl 写的 Personal HomePage 库,显然 PHP 从出现到现在,一直注重在于
建立一套完整的 Library 上,另外还有一些诸如 $_SERVER、$_POST、$_GET、$_FILE、$_COOKIE等
现成的东西,而 Perl 则要引入这个,引入那个,很繁琐,大家在这方面有什么思考吗?
 

--

您收到此邮件是因为您订阅了 Google 网上论坛的“PerlChina Mongers 讨论组”论坛。
要向此网上论坛发帖,请发送电子邮件至 perlchina@googlegroups.com
要取消订阅此网上论坛,请发送电子邮件至 perlchina+unsubscribe@googlegroups.com
若有更多问题,请通过 http://groups.google.com/group/perlchina?hl=zh-CN 访问此网上论坛。

--

您收到此邮件是因为您订阅了 Google 网上论坛的"PerlChina Mongers 讨论组"论坛。
要向此网上论坛发帖,请发送电子邮件至 perlchina@googlegroups.com。
要取消订阅此网上论坛,请发送电子邮件至 perlchina+unsubscribe@googlegroups.com。
若有更多问题,请通过 http://groups.google.com/group/perlchina?hl=zh-CN 访问此网上论坛。

Re: 答复: [PerlChina] 关于PERL和PHP的融合的思考

主要看在什么地方使用了,我自己做了个基因检测系统,算法上就用perl.外包装上用php。结合使用效果非常好! 呵呵!

2009/12/25 宇捷 <hfahe@163.com>

Web开发方面 PHPPerl中汲取经验 一直在完善和进步 在这方面Perl已经落后了

 

发件人: 3lum0swegce8zcoc.tegvictyzerxffxcvxiflgj.tfd@listserv.bounces.google.com [mailto:3lum0swegce8zcoc.tegvictyzerxffxcvxiflgj.tfd@listserv.bounces.google.com] 代表 Lin(林兴陆)
发送时间: 20091225 12:44
收件人: perlchina@googlegroups.com
主题: [PerlChina] 关于PERLPHP的融合的思考

 

这些年 PHP 比较火,虽然自己还是 Perl 阵营的人,但安装一堆模组,毕竟不够方便,兼容性也不好,

这方面在 PHP 里面,就做的比较好,官方提供了比较完整的函数库,而 Perl 自身提供的函数库就显得

太少了,PHP 最早就是由 Perl 写的 Personal HomePage 库,显然 PHP 从出现到现在,一直注重在于

建立一套完整的 Library 上,另外还有一些诸如 $_SERVER$_POST$_GET$_FILE$_COOKIE

现成的东西,而 Perl 则要引入这个,引入那个,很繁琐,大家在这方面有什么思考吗?

 

--

您收到此邮件是因为您订阅了 Google 网上论坛的“PerlChina Mongers 讨论组论坛。
要向此网上论坛发帖,请发送电子邮件至 perlchina@googlegroups.com
要取消订阅此网上论坛,请发送电子邮件至 perlchina+unsubscribe@googlegroups.com
若有更多问题,请通过 http://groups.google.com/group/perlchina?hl=zh-CN 访问此网上论坛。

--

您收到此邮件是因为您订阅了 Google 网上论坛的“PerlChina Mongers 讨论组”论坛。
要向此网上论坛发帖,请发送电子邮件至 perlchina@googlegroups.com
要取消订阅此网上论坛,请发送电子邮件至 perlchina+unsubscribe@googlegroups.com
若有更多问题,请通过 http://groups.google.com/group/perlchina?hl=zh-CN 访问此网上论坛。

--

您收到此邮件是因为您订阅了 Google 网上论坛的"PerlChina Mongers 讨论组"论坛。
要向此网上论坛发帖,请发送电子邮件至 perlchina@googlegroups.com。
要取消订阅此网上论坛,请发送电子邮件至 perlchina+unsubscribe@googlegroups.com。
若有更多问题,请通过 http://groups.google.com/group/perlchina?hl=zh-CN 访问此网上论坛。

[PerlChina] perlcc 编译带模块的perl源码的问题

用 perlcc编译一个简单的不带模块的perl源码
perlcc -o abc perl.pl
就可以了!

但是如果我的源码里面使用了模块,
同样的编译:
perlcc -o abc perl.pl
没有任何错误提示,

再运行该程序,从错误报告上可以看出是用到模块的地方,好像模块没运用上。

集思广益不知道大家在这个问题上是怎么解决的?  多谢大家了!

--

您收到此邮件是因为您订阅了 Google 网上论坛的"PerlChina Mongers 讨论组"论坛。
要向此网上论坛发帖,请发送电子邮件至 perlchina@googlegroups.com。
要取消订阅此网上论坛,请发送电子邮件至 perlchina+unsubscribe@googlegroups.com。
若有更多问题,请通过 http://groups.google.com/group/perlchina?hl=zh-CN 访问此网上论坛。

答复: [PerlChina] 关于PERL和PHP的融合的思考

Web开发方面 PHPPerl中汲取经验 一直在完善和进步 在这方面Perl已经落后了

 

发件人: 3lum0swegce8zcoc.tegvictyzerxffxcvxiflgj.tfd@listserv.bounces.google.com [mailto:3lum0swegce8zcoc.tegvictyzerxffxcvxiflgj.tfd@listserv.bounces.google.com] 代表 Lin(林兴陆)
发送时间: 20091225 12:44
收件人: perlchina@googlegroups.com
主题: [PerlChina] 关于PERLPHP的融合的思考

 

这些年 PHP 比较火,虽然自己还是 Perl 阵营的人,但安装一堆模组,毕竟不够方便,兼容性也不好,

这方面在 PHP 里面,就做的比较好,官方提供了比较完整的函数库,而 Perl 自身提供的函数库就显得

太少了,PHP 最早就是由 Perl 写的 Personal HomePage 库,显然 PHP 从出现到现在,一直注重在于

建立一套完整的 Library 上,另外还有一些诸如 $_SERVER$_POST$_GET$_FILE$_COOKIE

现成的东西,而 Perl 则要引入这个,引入那个,很繁琐,大家在这方面有什么思考吗?

 

--

您收到此邮件是因为您订阅了 Google 网上论坛的"PerlChina Mongers 讨论组"论坛。
要向此网上论坛发帖,请发送电子邮件至 perlchina@googlegroups.com
要取消订阅此网上论坛,请发送电子邮件至 perlchina+unsubscribe@googlegroups.com
若有更多问题,请通过 http://groups.google.com/group/perlchina?hl=zh-CN 访问此网上论坛。

Re: [PerlChina] 关于PERL和PHP的融合的思考

php用起来的确方便。。。
 
一般只在比较关注效率的时候,或者处理文本之类,才使用perl
 
平时处理数据库、做个web相关的东西,都用php~
 
2009-12-25


发件人: Lin(林兴陆)
发送时间: 2009-12-25  12:44:38
收件人: perlchina
抄送:
主题: [PerlChina] 关于PERL和PHP的融合的思考
这些年 PHP 比较火,虽然自己还是 Perl 阵营的人,但安装一堆模组,毕竟不够方便,兼容性也不好,
这方面在 PHP 里面,就做的比较好,官方提供了比较完整的函数库,而 Perl 自身提供的函数库就显得
太少了,PHP 最早就是由 Perl 写的 Personal HomePage 库,显然 PHP 从出现到现在,一直注重在于
建立一套完整的 Library 上,另外还有一些诸如 $_SERVER、$_POST、$_GET、$_FILE、$_COOKIE等
现成的东西,而 Perl 则要引入这个,引入那个,很繁琐,大家在这方面有什么思考吗?
 

--

您收到此邮件是因为您订阅了 Google 网上论坛的"PerlChina Mongers 讨论组"论坛。
要向此网上论坛发帖,请发送电子邮件至 perlchina@googlegroups.com。
要取消订阅此网上论坛,请发送电子邮件至 perlchina+unsubscribe@googlegroups.com。
若有更多问题,请通过 http://groups.google.com/group/perlchina?hl=zh-CN 访问此网上论坛。

Re: [PerlChina] 什么情况下会用perl来操作excel?

这样的 ,

2009/12/25 Havel Zhang <havel.zhang@gmail.com>
的确是快,我们这里的一个对帐报表就是用WriteExcel写的,报表比较简单,只是一些二维表,一个工作簿中,第一个工作表是summary,第二个工作表是目录,其中有指向余下各工作表的引用链接,余下的工作表根据与数据有关的各门店而定。表虽然简单,但是要根据成千的供应商生成文件,数据则来源于一个Oracle数据库。当初就是因为用VBA写的,程序一工作,这台服务器其它事就甭干了,根本动不了,而且时间漫长。用Perl改写后,生成所有报表只要一天时间,而且在生成的时候不怎么影响其它人在这台服务器上工作。



2009/12/25 Michael Zeng <galaxy2004@gmail.com>

不错啊, perl pm竟然比 VBA 还快呢


--
真理使你自由

--

您收到此邮件是因为您订阅了 Google 网上论坛的“PerlChina Mongers 讨论组”论坛。
要向此网上论坛发帖,请发送电子邮件至 perlchina@googlegroups.com
要取消订阅此网上论坛,请发送电子邮件至 perlchina+unsubscribe@googlegroups.com
若有更多问题,请通过 http://groups.google.com/group/perlchina?hl=zh-CN 访问此网上论坛。



--
           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和PHP的融合的思考

这些年 PHP 比较火,虽然自己还是 Perl 阵营的人,但安装一堆模组,毕竟不够方便,兼容性也不好,
这方面在 PHP 里面,就做的比较好,官方提供了比较完整的函数库,而 Perl 自身提供的函数库就显得
太少了,PHP 最早就是由 Perl 写的 Personal HomePage 库,显然 PHP 从出现到现在,一直注重在于
建立一套完整的 Library 上,另外还有一些诸如 $_SERVER、$_POST、$_GET、$_FILE、$_COOKIE等
现成的东西,而 Perl 则要引入这个,引入那个,很繁琐,大家在这方面有什么思考吗?
 

--

您收到此邮件是因为您订阅了 Google 网上论坛的“PerlChina Mongers 讨论组”论坛。
要向此网上论坛发帖,请发送电子邮件至 perlchina@googlegroups.com。
要取消订阅此网上论坛,请发送电子邮件至 perlchina+unsubscribe@googlegroups.com。
若有更多问题,请通过 http://groups.google.com/group/perlchina?hl=zh-CN 访问此网上论坛。

Re: [PerlChina] 什么情况下会用perl来操作excel?

的确是快,我们这里的一个对帐报表就是用WriteExcel写的,报表比较简单,只是一些二维表,一个工作簿中,第一个工作表是summary,第二个工作表是目录,其中有指向余下各工作表的引用链接,余下的工作表根据与数据有关的各门店而定。表虽然简单,但是要根据成千的供应商生成文件,数据则来源于一个Oracle数据库。当初就是因为用VBA写的,程序一工作,这台服务器其它事就甭干了,根本动不了,而且时间漫长。用Perl改写后,生成所有报表只要一天时间,而且在生成的时候不怎么影响其它人在这台服务器上工作。



2009/12/25 Michael Zeng <galaxy2004@gmail.com>
不错啊, perl pm竟然比 VBA 还快呢


--
真理使你自由

--

您收到此邮件是因为您订阅了 Google 网上论坛的"PerlChina Mongers 讨论组"论坛。
要向此网上论坛发帖,请发送电子邮件至 perlchina@googlegroups.com。
要取消订阅此网上论坛,请发送电子邮件至 perlchina+unsubscribe@googlegroups.com。
若有更多问题,请通过 http://groups.google.com/group/perlchina?hl=zh-CN 访问此网上论坛。

Re: Re: [PerlChina] CN Perl Advent Day 24: PSGI/Plack

框架的框架?
 
 
2009-12-25


发件人: Kane
发送时间: 2009-12-25  08:39:07
收件人: perlchina
抄送:
主题: Re: [PerlChina] CN Perl Advent Day 24: PSGI/Plack
Merry X'mas

2009/12/24 Fayland Lam <fayland@gmail.com>
http://perlchina.org/advent/2009/Plack.html

=for advent_year 2009

=for advent_day 24

=for advent_title PSGI/Plack

=for advent_author Fayland Lam

想明白 M<Plack> 之前,很有必要认识一下 M<PSGI>。

PSGI 是 Perl Web Server Gateway Interface Specification 的简称。它借鉴于 Python
的 A<http://www.python.org/dev/peps/pep-0333/|WSGI> 和 Ruby 的
A<http://rack.rubyforge.org/|Rack>

而 Plack 是对 PSGI SPEC 的一个实现。

一个更直观的认识是看如下这个图片:

<img src='http://farm3.static.flickr.com/2763/4177260769_3ff8c0eb90.jpg'
border='0' />

PSGI/Plack 是个很新的事物,由 Tatsuhiko Miyagawa
在今年十月所开发。虽然时间很短,但是发展很迅速。到目前为止已经有好多个基于 Plack 的应用,如 mst 的
M<Web::Simple>, 作者本人的 M<Tatsumaki> 等 framework 和
A<http://github.com/frioux/perlcritic-web> 等例子。而更多的是 Plack 的
Middleware.

Middleware 是个中间件。整个概念跟下面的图片很类似:

<img src='http://pylonshq.com/docs/en/0.9.7/_images/pylons_as_onion.png'
border='0' />

它的意义在于更底层的操作整个 HTTP 流程,而无须在框架里处理。不同的框架如 Catalyst 或 CGI::Application,
都可以使用相同的中间件,只要它们都跑在 PSGI 上。

PSGI 是框架作者的福音,写一个符合 PSGI SPEC 的框架,您无须去写 Engine, Plack 的 Server 有
Standalone, AnyEvent, 或者运行在 lighttpd, nginx 或 Apache. 您也无须去写一些
Plugins, 所有的 Middleware 都可以运用在您的框架之上。

如果您要写一个简单的 server 来运行一个简单的 cgi, 你也可以直接写成 psgi 格式,这样您无须 Apache
或其他服务器,使用简单的 Standalone 或 AnyEvent 来运行就可以了。

本文并不描述如何安装启动 Plack 或者介绍某个中间件,这方面的内容都可以在今年的
A<http://advent.plackperl.org/|Plack Advent Calendar> 里看到。:)

介于水平有限,只能介绍到这里。

今天是平安夜,祝各位平安夜快乐。谢谢。

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

--

您收到此邮件是因为您订阅了 Google 网上论坛的"PerlChina Mongers 讨论组"论坛。
要向此网上论坛发帖,请发送电子邮件至 perlchina@googlegroups.com
要取消订阅此网上论坛,请发送电子邮件至 perlchina+unsubscribe@googlegroups.com
若有更多问题,请通过 http://groups.google.com/group/perlchina?hl=zh-CN 访问此网上论坛。



--

您收到此邮件是因为您订阅了 Google 网上论坛的"PerlChina Mongers 讨论组"论坛。
要向此网上论坛发帖,请发送电子邮件至 perlchina@googlegroups.com。
要取消订阅此网上论坛,请发送电子邮件至 perlchina+unsubscribe@googlegroups.com。
若有更多问题,请通过 http://groups.google.com/group/perlchina?hl=zh-CN 访问此网上论坛。

Re: [PerlChina] CN Perl Advent Day 24: PSGI/Plack

的确这个是借鉴得非常好。不过有少少值得思考的,现在很多PERL都是借鉴于其它语言,似乎在创新方面落后了点点。

Kane wrote:
Merry X'mas

2009/12/24 Fayland Lam <fayland@gmail.com>
http://perlchina.org/advent/2009/Plack.html

=for advent_year 2009

=for advent_day 24

=for advent_title PSGI/Plack

=for advent_author Fayland Lam

想明白 M<Plack> 之前,很有必要认识一下 M<PSGI>。

PSGI 是 Perl Web Server Gateway Interface Specification 的简称。它借鉴于 Python
的 A<http://www.python.org/dev/peps/pep-0333/|WSGI> 和 Ruby 的
A<http://rack.rubyforge.org/|Rack>

而 Plack 是对 PSGI SPEC 的一个实现。

一个更直观的认识是看如下这个图片:

<img src='http://farm3.static.flickr.com/2763/4177260769_3ff8c0eb90.jpg'
border='0' />

PSGI/Plack 是个很新的事物,由 Tatsuhiko Miyagawa
在今年十月所开发。虽然时间很短,但是发展很迅速。到目前为止已经有好多个基于 Plack 的应用,如 mst 的
M<Web::Simple>, 作者本人的 M<Tatsumaki> 等 framework 和
A<http://github.com/frioux/perlcritic-web> 等例子。而更多的是 Plack 的
Middleware.

Middleware 是个中间件。整个概念跟下面的图片很类似:

<img src='http://pylonshq.com/docs/en/0.9.7/_images/pylons_as_onion.png'
border='0' />

它的意义在于更底层的操作整个 HTTP 流程,而无须在框架里处理。不同的框架如 Catalyst 或 CGI::Application,
都可以使用相同的中间件,只要它们都跑在 PSGI 上。

PSGI 是框架作者的福音,写一个符合 PSGI SPEC 的框架,您无须去写 Engine, Plack 的 Server 有
Standalone, AnyEvent, 或者运行在 lighttpd, nginx 或 Apache. 您也无须去写一些
Plugins, 所有的 Middleware 都可以运用在您的框架之上。

如果您要写一个简单的 server 来运行一个简单的 cgi, 你也可以直接写成 psgi 格式,这样您无须 Apache
或其他服务器,使用简单的 Standalone 或 AnyEvent 来运行就可以了。

本文并不描述如何安装启动 Plack 或者介绍某个中间件,这方面的内容都可以在今年的
A<http://advent.plackperl.org/|Plack Advent Calendar> 里看到。:)

介于水平有限,只能介绍到这里。

今天是平安夜,祝各位平安夜快乐。谢谢。

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

--





--  Perl乐事 -- http://www.perlersh.org 我的博客 -- http://www.perlersh.org/blog.html 揭谛揭谛,波罗揭谛,波罗僧揭谛,菩提萨婆诃。 

Re: [PerlChina] 什么情况下会用perl来操作excel?

不错啊, perl pm竟然比 VBA 还快呢



2009/12/25 Huangj <redspid@163.com>
俺倒是觉得,你既然不知道什么时候需要用 perl 去处理 excel, 又何必去考虑它? ^^


在2009-12-24,"Dejian Zhao" <dejian.zhao@gmail.com> 写道:

CPAN有很多与excel有关的模块,但是什么情况下会使用perl来处理excel文件?谁  来举个例子啊。  还有读写excel的模块也比较多,常用的有哪些。  读excel Spreadsheet::Read - Read the data from a spreadsheet Spreadsheet::ParseExcel - Read information from an Excel file.  写excel Spreadsheet::Write - Simplified writer for CSV or XLS (MS Excel) files Spreadsheet::WriteExcel - Write to a cross-platform Excel binary file.  excel2007 Spreadsheet::XLSX::Utility2007 - Utility function for Spreadsheet::XLSX Spreadsheet::XLSX::Fmt2007  --  您收到此邮件是因为您订阅了 Google 网上论坛的“PerlChina Mongers 讨论组”论坛。 要向此网上论坛发帖,请发送电子邮件至 perlchina@googlegroups.com。 要取消订阅此网上论坛,请发送电子邮件至 perlchina+unsubscribe@googlegroups.com。 若有更多问题,请通过 http://groups.google.com/group/perlchina?hl=zh-CN 访问此网上论坛。   


--

您收到此邮件是因为您订阅了 Google 网上论坛的“PerlChina Mongers 讨论组”论坛。
要向此网上论坛发帖,请发送电子邮件至 perlchina@googlegroups.com
要取消订阅此网上论坛,请发送电子邮件至 perlchina+unsubscribe@googlegroups.com
若有更多问题,请通过 http://groups.google.com/group/perlchina?hl=zh-CN 访问此网上论坛。



--
           Yours Sincerely
                   Zeng Hong

--

您收到此邮件是因为您订阅了 Google 网上论坛的"PerlChina Mongers 讨论组"论坛。
要向此网上论坛发帖,请发送电子邮件至 perlchina@googlegroups.com。
要取消订阅此网上论坛,请发送电子邮件至 perlchina+unsubscribe@googlegroups.com。
若有更多问题,请通过 http://groups.google.com/group/perlchina?hl=zh-CN 访问此网上论坛。

Re: [PerlChina] CN Perl Advent Day 24: PSGI/Plack

Merry X'mas

2009/12/24 Fayland Lam <fayland@gmail.com>
http://perlchina.org/advent/2009/Plack.html

=for advent_year 2009

=for advent_day 24

=for advent_title PSGI/Plack

=for advent_author Fayland Lam

想明白 M<Plack> 之前,很有必要认识一下 M<PSGI>。

PSGI 是 Perl Web Server Gateway Interface Specification 的简称。它借鉴于 Python
的 A<http://www.python.org/dev/peps/pep-0333/|WSGI> 和 Ruby 的
A<http://rack.rubyforge.org/|Rack>

而 Plack 是对 PSGI SPEC 的一个实现。

一个更直观的认识是看如下这个图片:

<img src='http://farm3.static.flickr.com/2763/4177260769_3ff8c0eb90.jpg'
border='0' />

PSGI/Plack 是个很新的事物,由 Tatsuhiko Miyagawa
在今年十月所开发。虽然时间很短,但是发展很迅速。到目前为止已经有好多个基于 Plack 的应用,如 mst 的
M<Web::Simple>, 作者本人的 M<Tatsumaki> 等 framework 和
A<http://github.com/frioux/perlcritic-web> 等例子。而更多的是 Plack 的
Middleware.

Middleware 是个中间件。整个概念跟下面的图片很类似:

<img src='http://pylonshq.com/docs/en/0.9.7/_images/pylons_as_onion.png'
border='0' />

它的意义在于更底层的操作整个 HTTP 流程,而无须在框架里处理。不同的框架如 Catalyst 或 CGI::Application,
都可以使用相同的中间件,只要它们都跑在 PSGI 上。

PSGI 是框架作者的福音,写一个符合 PSGI SPEC 的框架,您无须去写 Engine, Plack 的 Server 有
Standalone, AnyEvent, 或者运行在 lighttpd, nginx 或 Apache. 您也无须去写一些
Plugins, 所有的 Middleware 都可以运用在您的框架之上。

如果您要写一个简单的 server 来运行一个简单的 cgi, 你也可以直接写成 psgi 格式,这样您无须 Apache
或其他服务器,使用简单的 Standalone 或 AnyEvent 来运行就可以了。

本文并不描述如何安装启动 Plack 或者介绍某个中间件,这方面的内容都可以在今年的
A<http://advent.plackperl.org/|Plack Advent Calendar> 里看到。:)

介于水平有限,只能介绍到这里。

今天是平安夜,祝各位平安夜快乐。谢谢。

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

--

您收到此邮件是因为您订阅了 Google 网上论坛的"PerlChina Mongers 讨论组"论坛。
要向此网上论坛发帖,请发送电子邮件至 perlchina@googlegroups.com
要取消订阅此网上论坛,请发送电子邮件至 perlchina+unsubscribe@googlegroups.com
若有更多问题,请通过 http://groups.google.com/group/perlchina?hl=zh-CN 访问此网上论坛。



--

您收到此邮件是因为您订阅了 Google 网上论坛的"PerlChina Mongers 讨论组"论坛。
要向此网上论坛发帖,请发送电子邮件至 perlchina@googlegroups.com。
要取消订阅此网上论坛,请发送电子邮件至 perlchina+unsubscribe@googlegroups.com。
若有更多问题,请通过 http://groups.google.com/group/perlchina?hl=zh-CN 访问此网上论坛。

Re:[PerlChina] 什么情况下会用perl来操作excel?

俺倒是觉得,你既然不知道什么时候需要用 perl 去处理 excel, 又何必去考虑它? ^^


在2009-12-24,"Dejian Zhao" <dejian.zhao@gmail.com> 写道:
CPAN有很多与excel有关的模块,但是什么情况下会使用perl来处理excel文件?谁  来举个例子啊。  还有读写excel的模块也比较多,常用的有哪些。  读excel Spreadsheet::Read - Read the data from a spreadsheet Spreadsheet::ParseExcel - Read information from an Excel file.  写excel Spreadsheet::Write - Simplified writer for CSV or XLS (MS Excel) files Spreadsheet::WriteExcel - Write to a cross-platform Excel binary file.  excel2007 Spreadsheet::XLSX::Utility2007 - Utility function for Spreadsheet::XLSX Spreadsheet::XLSX::Fmt2007  --  您收到此邮件是因为您订阅了 Google 网上论坛的"PerlChina Mongers 讨论组"论坛。 要向此网上论坛发帖,请发送电子邮件至 perlchina@googlegroups.com。 要取消订阅此网上论坛,请发送电子邮件至 perlchina+unsubscribe@googlegroups.com。 若有更多问题,请通过 http://groups.google.com/group/perlchina?hl=zh-CN 访问此网上论坛。   


--

您收到此邮件是因为您订阅了 Google 网上论坛的"PerlChina Mongers 讨论组"论坛。
要向此网上论坛发帖,请发送电子邮件至 perlchina@googlegroups.com。
要取消订阅此网上论坛,请发送电子邮件至 perlchina+unsubscribe@googlegroups.com。
若有更多问题,请通过 http://groups.google.com/group/perlchina?hl=zh-CN 访问此网上论坛。

Re: [PerlChina] 什么情况下会用perl来操作excel?

我们这里用Spreadsheet::WriteExcel的报表是挺多的,虽然是在Windows平台,不过因为要批量为同一数据源,在短时间快速生成简单的Excel报表(报表中没有数据透视表之类复杂的结构), WriteExcel模块在这方面是强项,那速度可能真的快,效率那是相当的高,而且因为Perl处理数据灵活,又是胶水个性:)真的是非常好,所以我们就是在WINDOWS开台,有些简单报表,为了速度也用WriteExcel,而不用VBA,VBA相较WriteExcel来说比较慢。当然,如果在UNIX、LINUX里要生成Excel报表也非WriteExcel莫属了:)



2009/12/24 Dejian Zhao <dejian.zhao@gmail.com>
CPAN有很多与excel有关的模块,但是什么情况下会使用perl来处理excel文件?谁
来举个例子啊。

还有读写excel的模块也比较多,常用的有哪些。

读excel
Spreadsheet::Read - Read the data from a spreadsheet
Spreadsheet::ParseExcel - Read information from an Excel file.

写excel
Spreadsheet::Write - Simplified writer for CSV or XLS (MS Excel) files
Spreadsheet::WriteExcel - Write to a cross-platform Excel binary file.

excel2007
Spreadsheet::XLSX::Utility2007 - Utility function for Spreadsheet::XLSX
Spreadsheet::XLSX::Fmt2007

--

您收到此邮件是因为您订阅了 Google 网上论坛的"PerlChina Mongers 讨论组"论坛。
要向此网上论坛发帖,请发送电子邮件至 perlchina@googlegroups.com
要取消订阅此网上论坛,请发送电子邮件至 perlchina+unsubscribe@googlegroups.com
若有更多问题,请通过 http://groups.google.com/group/perlchina?hl=zh-CN 访问此网上论坛。





--
真理使你自由

--

您收到此邮件是因为您订阅了 Google 网上论坛的"PerlChina Mongers 讨论组"论坛。
要向此网上论坛发帖,请发送电子邮件至 perlchina@googlegroups.com。
要取消订阅此网上论坛,请发送电子邮件至 perlchina+unsubscribe@googlegroups.com。
若有更多问题,请通过 http://groups.google.com/group/perlchina?hl=zh-CN 访问此网上论坛。

[PerlChina] CN Perl Advent Day 24: PSGI/Plack

http://perlchina.org/advent/2009/Plack.html

=for advent_year 2009

=for advent_day 24

=for advent_title PSGI/Plack

=for advent_author Fayland Lam

想明白 M<Plack> 之前,很有必要认识一下 M<PSGI>。

PSGI 是 Perl Web Server Gateway Interface Specification 的简称。它借鉴于 Python
的 A<http://www.python.org/dev/peps/pep-0333/|WSGI> 和 Ruby 的
A<http://rack.rubyforge.org/|Rack>

而 Plack 是对 PSGI SPEC 的一个实现。

一个更直观的认识是看如下这个图片:

<img src='http://farm3.static.flickr.com/2763/4177260769_3ff8c0eb90.jpg'
border='0' />

PSGI/Plack 是个很新的事物,由 Tatsuhiko Miyagawa
在今年十月所开发。虽然时间很短,但是发展很迅速。到目前为止已经有好多个基于 Plack 的应用,如 mst 的
M<Web::Simple>, 作者本人的 M<Tatsumaki> 等 framework 和
A<http://github.com/frioux/perlcritic-web> 等例子。而更多的是 Plack 的
Middleware.

Middleware 是个中间件。整个概念跟下面的图片很类似:

<img src='http://pylonshq.com/docs/en/0.9.7/_images/pylons_as_onion.png'
border='0' />

它的意义在于更底层的操作整个 HTTP 流程,而无须在框架里处理。不同的框架如 Catalyst 或 CGI::Application,
都可以使用相同的中间件,只要它们都跑在 PSGI 上。

PSGI 是框架作者的福音,写一个符合 PSGI SPEC 的框架,您无须去写 Engine, Plack 的 Server 有
Standalone, AnyEvent, 或者运行在 lighttpd, nginx 或 Apache. 您也无须去写一些
Plugins, 所有的 Middleware 都可以运用在您的框架之上。

如果您要写一个简单的 server 来运行一个简单的 cgi, 你也可以直接写成 psgi 格式,这样您无须 Apache
或其他服务器,使用简单的 Standalone 或 AnyEvent 来运行就可以了。

本文并不描述如何安装启动 Plack 或者介绍某个中间件,这方面的内容都可以在今年的
A<http://advent.plackperl.org/|Plack Advent Calendar> 里看到。:)

介于水平有限,只能介绍到这里。

今天是平安夜,祝各位平安夜快乐。谢谢。

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

--

您收到此邮件是因为您订阅了 Google 网上论坛的"PerlChina Mongers 讨论组"论坛。
要向此网上论坛发帖,请发送电子邮件至 perlchina@googlegroups.com
要取消订阅此网上论坛,请发送电子邮件至 perlchina+unsubscribe@googlegroups.com
若有更多问题,请通过 http://groups.google.com/group/perlchina?hl=zh-CN 访问此网上论坛。