2012年7月6日星期五

Re: [PerlChina] hbase 最新官方文档中文版

sorry,以为没人看。
链接已经更新成 http://abloz.com/hbase/book.html 
发现的链接错误早更正了。

在 2012年7月5日 下午1:43,夏凯 <walkerxk@gmail.com>写道:
hbase.html改成book.html就好了,作者应该是改了文件名,然后有几个url忘了改了,其实看看url就能看 出来的,

On 2012年07月05日 09:14, Gary Jsz wrote:
404错误,页面连接无效呀



在 2012年7月4日 下午2:30,azure wang <azure1st@gmail.com>写 道:
在 2012年5月30日 下午7:49,ablozhou@gmail.com <ablozhou@gmail.com>写道:

我 花了两天时间来翻译整理Hbase的最新官方文档,该版本基于 颜开翻译 整 理更新。但颜开的版本是0.90版的。HBase新版 0.95 文档和0.90版相比,变化较大,补充更新了很多内容,章节调整较大。感谢盛大公司颜开的 辛勤劳动!

英 文原文地址在此处。 汉化最后的最新版本请到此处http://abloz.com/hbase/book.htm ) 浏览。大概还有20%没有翻译的,以及可能存在的翻译和链接错误。
原始文档本身也还在修改完善之中。

在 此征求志愿者参与翻译。请 愿意翻译的到此处报名(https://code.google.com/p /hbasedoc-cn/)并 下载修改上传。贡献者将在此文档署名。谢谢! 
最 终版生成pdf供下载。

谢谢!

周海汉

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



--
Azure.Wang

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



--
gary.jsz@gmail.com
--
您收到此邮件是因为您订阅了 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 访问此网上论坛。

2012年7月5日星期四

[PerlChina] 【招聘】百度基础架构部招聘架构师,数据分析师

百度基础架构部如下职位热招:

数据平台架构师

http://hr.baidu.com/jobPages/jobDetail_3842.html


超大规模数据平台架构师(上海) 

http://hr.baidu.com/jobPages/jobDetail_4188.html


超大规模数据平台数据分析师

http://hr.baidu.com/jobPages/jobDetail_3845.html


如果说百度的产品线是一座大楼,那么承载超大规模数据存储、计算、挖掘的基础架构部

就是这座大楼的最坚实地基。每天数十亿的PV、数百亿特征的大规模机器学习、数十P的大

规模离线计算,以及层出不穷的互联网创新,我们面临着全方位的挑战。从最底层的硬件

、内核技术到高效率的编程框架,从安全防攻击到数据挖掘、智能CTR预估,从IDC机房建

设到云端基础服务,我们的工作让我们的系统、我们的服务简单可依赖!


【注】有意向的同学请将最新简历发送到 joinbaidu@baidu.com邮件标题请标注:应聘基

础架构部- 相关职位-工作地点- 信息来源。或者通过如下职位链接了解部门更多职位并可

以进行在线申请。(所有职位要求工作经验两年以上)

http://hr.baidu.com/static/jobList.html?v=%25E5%259F%25BA%25E7%25A1%2580%25E6%259E%25B6%25E6%259E%2584%25E9%2583%25A8&workAera=%E5%85%A8%E9%83%A8&workKind=%E5%85%A8%E9%83%A8


如果你热爱底层技术,追寻技术的本源;

如果你对技术满怀热情,对挑战充满信心;

那么,基础架构部就是你的最佳选择!

百度欢迎你的加入:)!


百度招聘相关链接


【百度社会招聘系统首页】http://hr.baidu.com/static/index.html

【百度社会招聘官方微博】http://e.weibo.com/baidujob


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

2012年7月4日星期三

Re: [PerlChina] hbase 最新官方文档中文版

hbase.html改成book.html就好了,作者应该是改了文件名,然后有几个url忘了改了,其实看看url就能看 出来的,上面也说了,是http://abloz.com/hbase/book.htm
On 2012年07月05日 09:14, Gary Jsz wrote:
404错误,页面连接无效呀



在 2012年7月4日 下午2:30,azure wang <azure1st@gmail.com>写 道:
1. 入门
1.1. 介绍
1.2. 快速开始

连接错误了。

在 2012年5月30日 下午7:49,ablozhou@gmail.com <ablozhou@gmail.com>写道:

我 花了两天时间来翻译整理Hbase的最新官方文档,该版本基于 颜开翻译 整 理更新。但颜开的版本是0.90版的。HBase新版 0.95 文档和0.90版相比,变化较大,补充更新了很多内容,章节调整较大。感谢盛大公司颜开的 辛勤劳动!

英 文原文地址在此处。 汉化最后的最新版本请到此处http://abloz.com/hbase/book.htm ) 浏览。大概还有20%没有翻译的,以及可能存在的翻译和链接错误。
原始文档本身也还在修改完善之中。

在 此征求志愿者参与翻译。请 愿意翻译的到此处报名(https://code.google.com/p /hbasedoc-cn/)并 下载修改上传。贡献者将在此文档署名。谢谢! 
最 终版生成pdf供下载。

谢谢!

周海汉

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



--
Azure.Wang

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



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

Re: [PerlChina] hbase 最新官方文档中文版

404错误,页面连接无效呀



在 2012年7月4日 下午2:30,azure wang <azure1st@gmail.com>写道:
1. 入门
1.1. 介绍
1.2. 快速开始

连接错误了。

在 2012年5月30日 下午7:49,ablozhou@gmail.com <ablozhou@gmail.com>写道:

我花了两天时间来翻译整理Hbase的最新官方文档,该版本基于 颜开翻译 整理更新。但颜开的版本是0.90版的。HBase新版 0.95 文档和0.90版相比,变化较大,补充更新了很多内容,章节调整较大。感谢盛大公司颜开的辛勤劳动!

英文原文地址在此处。汉化最后的最新版本请到此处http://abloz.com/hbase/book.htm )浏览。大概还有20%没有翻译的,以及可能存在的翻译和链接错误。
原始文档本身也还在修改完善之中。

在此征求志愿者参与翻译。请愿意翻译的到此处报名(https://code.google.com/p/hbasedoc-cn/)并下载修改上传。贡献者将在此文档署名。谢谢! 
最终版生成pdf供下载。

谢谢!

周海汉

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



--
Azure.Wang

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



--
gary.jsz@gmail.com

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

Re: [PerlChina] Re: Perl内部机制

http://doc.novsu.ac.ru/oreilly/perl/advprog/ch20_02.htm


2012/7/4 <himemeizhi@gmail.com>
兰州想问的是“perl解释器可以如何实现”,不是“perl为什么可以这样”

Sent from my iPad

On 4 Jul, 2012, at 16:03, De-Jian Zhao <dejian.zhao@gmail.com> wrote:

这个可以理解。我是想了解更多关于Perl语言本身机制的东西,不知道有没有什么资料可推荐,能有下载链接就更好了。

On 2012-7-4 15:43, climby wrote:
这个就要讲到Perl的变量的命名规范了。变量只能以字符 或者下划线开头。
显然空格是不能作为变量的开头的。因此 $    a = $a 的。 验证如下

$perl -e '$a=1; print "true\n" if ($  a == $a)'
true

所以这个就很容易解释你所得到的那些结果了。 其实不是print函数参数列表中空格的缘故哦。



在 2012年7月4日星期三UTC+8下午3时15分53秒,Tianping写道:
函数与参数列表间 可以有空格,这在小骆驼中提到了。
$ perl -e ' print (2+3) x 3 '
5
$ perl -e ' print ((2+3) x 3) '
555

但是,sigil与变量名之间也可以有空格,这语法太灵活太松散了吧?
$ perl -e '$a=1; print $ a; '
1
$ perl -e '$a=1; print $ a + $ a; '
2
$ perl -e '$a=1; print $ a + $ ab; '
1
$ perl -e '$ a=1; print $a + $ a; '
2

Perl中如何来实现的?语句应当是根据分号 ; 来识别的吧?还有没有别的规则?
有没有讲述Perl语言内部机制的资料?大家给推荐一些。多 谢!

--
您收到此邮件是因为您订阅了 Google 网上论坛的“PerlChina Mongers 讨论组”论坛。
要在网络上查看此讨论,请访问 https://groups.google.com/d/msg/perlchina/-/W2O4SHeCfLIJ
要向此网上论坛发帖,请发送电子邮件至 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] Re: Perl内部机制

兰州想问的是"perl解释器可以如何实现",不是"perl为什么可以这样"

Sent from my iPad

On 4 Jul, 2012, at 16:03, De-Jian Zhao <dejian.zhao@gmail.com> wrote:

这个可以理解。我是想了解更多关于Perl语言本身机制的东西,不知道有没有什么资料可推荐,能有下载链接就更好了。

On 2012-7-4 15:43, climby wrote:
这个就要讲到Perl的变量的命名规范了。变量只能以字符 或者下划线开头。
显然空格是不能作为变量的开头的。因此 $    a = $a 的。 验证如下

$perl -e '$a=1; print "true\n" if ($  a == $a)'
true

所以这个就很容易解释你所得到的那些结果了。 其实不是print函数参数列表中空格的缘故哦。



在 2012年7月4日星期三UTC+8下午3时15分53秒,Tianping写道:
函数与参数列表间 可以有空格,这在小骆驼中提到了。
$ perl -e ' print (2+3) x 3 '
5
$ perl -e ' print ((2+3) x 3) '
555

但是,sigil与变量名之间也可以有空格,这语法太灵活太松散了吧?
$ perl -e '$a=1; print $ a; '
1
$ perl -e '$a=1; print $ a + $ a; '
2
$ perl -e '$a=1; print $ a + $ ab; '
1
$ perl -e '$ a=1; print $a + $ a; '
2

Perl中如何来实现的?语句应当是根据分号 ; 来识别的吧?还有没有别的规则?
有没有讲述Perl语言内部机制的资料?大家给推荐一些。多 谢!

--
您收到此邮件是因为您订阅了 Google 网上论坛的"PerlChina Mongers 讨论组"论坛。
要在网络上查看此讨论,请访问 https://groups.google.com/d/msg/perlchina/-/W2O4SHeCfLIJ
要向此网上论坛发帖,请发送电子邮件至 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] Re: Perl内部机制

这个可以理解。我是想了解更多关于Perl语言本身机制的东西,不知道有没有什么资料可推荐,能有下载链接就更好了。

On 2012-7-4 15:43, climby wrote:
这个就要讲到Perl的变量的命名规范了。变量只能以字符 或者下划线开头。
显然空格是不能作为变量的开头的。因此 $    a = $a 的。 验证如下

$perl -e '$a=1; print "true\n" if ($  a == $a)'
true

所以这个就很容易解释你所得到的那些结果了。 其实不是print函数参数列表中空格的缘故哦。



在 2012年7月4日星期三UTC+8下午3时15分53秒,Tianping写道:
函数与参数列表间 可以有空格,这在小骆驼中提到了。
$ perl -e ' print (2+3) x 3 '
5
$ perl -e ' print ((2+3) x 3) '
555

但是,sigil与变量名之间也可以有空格,这语法太灵活太松散了吧?
$ perl -e '$a=1; print $ a; '
1
$ perl -e '$a=1; print $ a + $ a; '
2
$ perl -e '$a=1; print $ a + $ ab; '
1
$ perl -e '$ a=1; print $a + $ a; '
2

Perl中如何来实现的?语句应当是根据分号 ; 来识别的吧?还有没有别的规则?
有没有讲述Perl语言内部机制的资料?大家给推荐一些。多 谢!

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

[PerlChina] Re: Perl内部机制

这个就要讲到Perl的变量的命名规范了。变量只能以字符或者下划线开头。
显然空格是不能作为变量的开头的。因此 $    a = $a 的。 验证如下

$perl -e '$a=1; print "true\n" if ($  a == $a)'
true

所以这个就很容易解释你所得到的那些结果了。 其实不是print函数参数列表中空格的缘故哦。



在 2012年7月4日星期三UTC+8下午3时15分53秒,Tianping写道:
函数与参数列表间可以有空格,这在小骆驼中提到了。
$ perl -e ' print (2+3) x 3 '
5
$ perl -e ' print ((2+3) x 3) '
555

但是,sigil与变量名之间也可以有空格,这语法太灵活太松散了吧?
$ perl -e '$a=1; print $ a; '
1
$ perl -e '$a=1; print $ a + $ a; '
2
$ perl -e '$a=1; print $ a + $ ab; '
1
$ perl -e '$ a=1; print $a + $ a; '
2

Perl中如何来实现的?语句应当是根据分号 ; 来识别的吧?还有没有别的规则?
有没有讲述Perl语言内部机制的资料?大家给推荐一些。多 谢!

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

[PerlChina] Perl内部机制

函数与参数列表间可以有空格,这在小骆驼中提到了。
$ perl -e ' print (2+3) x 3 '
5
$ perl -e ' print ((2+3) x 3) '
555

但是,sigil与变量名之间也可以有空格,这语法太灵活太松散了吧?
$ perl -e '$a=1; print $ a; '
1
$ perl -e '$a=1; print $ a + $ a; '
2
$ perl -e '$a=1; print $ a + $ ab; '
1
$ perl -e '$ a=1; print $a + $ a; '
2

Perl中如何来实现的?语句应当是根据分号 ; 来识别的吧?还有没有别的规则?
有没有讲述Perl语言内部机制的资料?大家给推荐一些。多 谢!

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

2012年7月3日星期二

Re: [PerlChina] hbase 最新官方文档中文版

1. 入门
1.1. 介绍
1.2. 快速开始

连接错误了。

在 2012年5月30日 下午7:49,ablozhou@gmail.com <ablozhou@gmail.com>写道:
我花了两天时间来翻译整理Hbase的最新官方文档,该版本基于 颜开翻译 整理更新。但颜开的版本是0.90版的。HBase新版 0.95 文档和0.90版相比,变化较大,补充更新了很多内容,章节调整较大。感谢盛大公司颜开的辛勤劳动!

英文原文地址在此处。汉化最后的最新版本请到此处http://abloz.com/hbase/book.htm )浏览。大概还有20%没有翻译的,以及可能存在的翻译和链接错误。
原始文档本身也还在修改完善之中。

在此征求志愿者参与翻译。请愿意翻译的到此处报名(https://code.google.com/p/hbasedoc-cn/)并下载修改上传。贡献者将在此文档署名。谢谢! 
最终版生成pdf供下载。

谢谢!

周海汉

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



--
Azure.Wang

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

2012年7月2日星期一

[PerlChina] Fwd: [Perlweekly] #49 - New: Perl 5 porters summary and CERT Perl Secure Coding Standard



---------- Forwarded message ----------
From: Gabor Szabo <gabor@szabgab.com>
Date: Mon, Jul 2, 2012 at 4:21 PM
Subject: [Perlweekly] #49 - New: Perl 5 porters summary and CERT Perl Secure Coding Standard
To: perlweekly@perlweekly.com


Perl Weekly

Issue #49 - July 2 , 2012 - New: Perl 5 porters summary and CERT Perl Secure Coding Standard

You can read the newsletter on the web, if you prefer.

Mingalarba,

This issue is still full of links to people posting about their experience at YAPC::NA. Some of them generic reports, others are links to the talks of the specific person. See them in the second part of this newsletter.

Besides those, there are quite a few interesting and diverse articles this week.

Enjoy!

Announcements

Perl5-Porters Weekly: 2012 June 17-25
Mark Allen started a weekly report about the discussions on the Perl 5 porters mailing list. If you don't know, that's the list where people who maintain and develop the Perl compiler/interpreter discuss what they working on, what features are added to perl and which are removed. If you don't have a lot of time but still would like to know what's planned for perl, this could be a very useful resource for you! In this entry, probably the most important news is the release of 5.17.1, the first developer snapshot for next years release of 5.18. Try it.

Perl 6 Maven site launched
I have set this up to build a place where people can go if they want to learn Perl 6. Some people might think it is too early. Others might say it is too late. I think it is a question of investment. I am going to invest quite some energy to make this a useful resource. While Perl 6 is not 'production ready' for many people, I am planning to be pragmatic and useful there. So the site already has a list of Perl 6 modules you can use. And a mailing list you can subscribe to. See you there!

Articles

The CERT Perl Secure Coding Standard
A long article listing many potential security issues in Perl code. Some of the problems can lead to an attacker gaining access to the system, others just create a denial of service for legitimate users. In any case, having such document to work with, will hopefully bring more companies to use better practices when coding in Perl. It can also bring people to start using Perl::Critic as it already has policies that can help check your code for many of these vulnerabilities.

Perl web framework Mojolicious reaches 3.0
This is the short announcement on The H.

What is Modern Perl?
The expression 'Modern Perl' has a number of meanings, depending who you ask. Dave Cross explains the differences in a guest poster at JosetteOrama.

Perl Unicode Cookbook: Further Resources
The closing article of the 44 part series by Tom Christiansen has links to various Unicode related perldocs, modules and some other resources.

CPAN

Help Wanted - A Proposal
How can a CPAN author tell the world she needs help maintaining her module? The best place is probably in the META data of the module. That's what Yanick Champoux thought and implemented. Now we 'only' need to get people use this.

Fun

Learning Perl Challenge: popular history
A new challenge by brian d foy. There are already 5 responses, but it is a simple task. Go try it.

Raspberry Pi - will it get our children programming? and if so why not in Perl?
Martin Evans tells us how he got into programming and tells us about his view on Raspberry Pi, you know the cheapest computer currently available, and how that might - or might not drive kids to learn programming. I liked his article, but I have doubts about simple devices to be interesting to kids.

Windows

Perl Windows - Grab all the system tray icons & get their co-ordinates
There is no detailed explanation, but Aditya Ivaturi shares a script with us that can be useful for anyone using and automating Windows.

On Windows, how can I maximize a window created using Win32::OLE?
This is a code example by Sinan Unur. Also without detailed explanation, but with useful code.

PDL, Scientific Perl, Big Data

Adapting PDL to a Big Data Landscape
David Mertens makes the case of improving PDL and making it more popular riding the wave of the growing Big Data analysis field. There are some links to follow, for example to the PDL book.

Videos

YAPC::NA Videos
There are already 51 videos uploaded, 78 subscribers and 2,739 views. That's an average of 53 views per video which seems ok until you realize that more 400 went on viewing an unrelated promo and another 200 for the two 'fights'.

Perl 6

t5: Enumerating trees
This was the 5th, and final task in the Perl 6 Coding Contest 2011. In a nutshell, you were supposed to draw all the different trees with N nodes and N-1 vertices. Without duplications.

Rakudo Star 2012.06 released
It contains the latest release of the Rakudo compiler, Parrot, some modules and documentation. If you are learning Perl 6, this might be a good package to start with.

Another month of blogging: adventure game, here I come!
Carl Masak has started another writing spree, blogging every day during July as he is developing his adventure game in Perl 6. Not only has he announced it yesterday, he also posted the first entry.

Other

MetaCPAN favourites weekly report

Stack Overflow perl report

YAPC::NA

Still more entries from YAPC::NA

YAPC:NA Videos Posted!
John Napiorkowski has posted links to his presentation and video recording from YAPC::NA

YAPC::NA 2012 recap
Tatsuhiko Miyagawa's blog

Wifi Stats for YAPC::NA 2012
So how much bandwidth do 400 Perl hackers use, while they are supposed to listen to talks?

I went to a YAPC!
Ricardo Signes (RJBS) was playing during YAPC.

My full YAPC::NA 2012 materials
There are no YAPC stores in this post, just links to the talks of Joel Berger.

YAPC::NA 2012 After Action Report
The report of lajandy who is apparently also called Andrew Johnson.

YAPC:NA Videos Posted!
Links to the videos and the talks of John Napiorkowski.

Yet Another YAPC::NA Report
Report by David Mertens - known for his work on PDL. He writes about his efforts, and success to build a little 'scientific Perl' community within YAPC and Perl in general.

Events

I usually list the next 3-4 events here. The list of all the events can be found on the web site. If your Perl event is not listed there, please let me know.

YAPC::EU 2012
August 20-22, 2012, Frankfurt, Germany

Mooving to Moose Hackathon
August 25-30, Preikestolen Mountain Lodge, near Stavanger, Norway

YAPC::Asia Tokyo 2012
September 27-29, 2012, Tokyo, Japan

Italian Perl workshop
October 11-12, 2012, Bologna, Italy

You joined the Perl Weekly to get weekly e-mails about the Perl programming language and related topics.
Want to see more? See the archives of all the issues.
Reading this as a non-subscriber? click here to join us free of charge.
(C) Copyright Gabor Szabo. The articles are copyright the respective authors.

You can unsubscribe here if you don't want to receive mails any more.

You can freely redistribute this message if you keep the whole message intact, including the Copyright notice and this text.


_______________________________________________
Perlweekly mailing list
Perlweekly@perlweekly.com
http://mail.perlweekly.com/mailman/listinfo/perlweekly




--
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 访问此网上论坛。

2012年7月1日星期日

Re: [PerlChina] 如何选择子例程返回值?

非常感谢!

On 2012-7-1 23:16, Robin Lee wrote:
要自己实现上下文相关的函数,就是靠 perldoc -f wantarray


Perl 的函数实际上是无法返回 hash 值的,只能返回 scalar 和 list 。
return %hash;
实际上是
my @list = %hash;
return @list;

所以,不要写返回 hash 的函数,要返回 hash 总是使用 reference。

2012/7/1 De-Jian Zhao <dejian.zhao@gmail.com>
各位好,请教一个问题。最近写了一个subroutine,尝试了两种方法,主要区别是 子例程的返回值不同。一个是返回hash reference(方法1),一个是直接返回 hash(方法2)。在运行时感觉方法2会稍有停顿。因此,想问一个问题:方法2 中%fasseq在接收子 例程的返回值时是不是要复制一份结果,并不是直接操作子例 程中的那块内存地址?方法1中my %fasseq = %$fasseq;是不是直接把地址传 给%fasseq进行操作?应当如何设置这个返回值?

还有一个问题是:Perl自带的函数根据上下文的不同可以返回scalar或者list,自 己写子例程时如何实现?


方法1:
sub read_fasta_into_hash() {
    my $fasfile = shift @_;
    my %fasseq;
    .....
    return \%fasseq;
}
my $fasseq = &read_fasta_into_hash($fasfile);
my %fasseq = %$fasseq;


方法2:
sub read_fasta_into_hash() {
    my $fasfile = shift @_;
    my %fasseq;
    .....
    return %fasseq;
}
my %fasseq = &read_fasta_into_hash($fasfile);