TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Perl 5.18.0 is now available

128 点作者 yko将近 12 年前

10 条评论

acqq将近 12 年前
The changes:<p><a href="http://search.cpan.org/~rjbs/perl/pod/perldelta.pod" rel="nofollow">http://search.cpan.org/~rjbs/perl/pod/perldelta.pod</a>
Su-Shee将近 12 年前
Perl 6 releases itself monthly for YEARS now.<p><a href="http://rakudo.org/how-to-get-rakudo/" rel="nofollow">http://rakudo.org/how-to-get-rakudo/</a><p><a href="http://rakudo.org/downloads/rakudo/" rel="nofollow">http://rakudo.org/downloads/rakudo/</a>
评论 #5729742 未加载
评论 #5729368 未加载
评论 #5729321 未加载
jerf将近 12 年前
Can someone explain the point of the lexical subroutines? [1]<p>In particular, I'm lost on the difference between<p><pre><code> sub outer { my $closurevar; my $inner = sub { ... use $closurevar... }; } </code></pre> and<p><pre><code> sub outer { my $closurevar; my sub inner { ... use $closurevar... } } </code></pre> (I mean this as an honest question. That said, I do hope that I'm missing something and this is more than just a syntax gloss.)<p>[1]: <a href="http://search.cpan.org/~rjbs/perl-5.18.0/pod/perlsub.pod#Lexical_Subroutines" rel="nofollow">http://search.cpan.org/~rjbs/perl-5.18.0/pod/perlsub.pod#Lex...</a>
评论 #5729840 未加载
评论 #5729847 未加载
btipling将近 12 年前
The dynamic scoping in Perl seems a bit troublesome to me. Maybe even a security issue. Can you prevent functions you call from accessing variables in your scope? Do you have to somehow sanitize your scope if this is an issue? Seems a little bit worrying. With the exception of closures inside nested functions, I wish functions just had their own scope and if you want them to have anything else, just pass it in.
评论 #5729789 未加载
评论 #5729761 未加载
评论 #5730173 未加载
greyman将近 12 年前
Just curious: Is Larry Wall still involved in Perl development? Haven't heard from him for a long time...
评论 #5730294 未加载
评论 #5730249 未加载
alberth将近 12 年前
Only 82 more minor releases until Perl 6 will be available.
评论 #5729731 未加载
评论 #5729428 未加载
creaktive将近 12 年前
perlbrew install -j 8 -v <a href="http://cpan.metacpan.org/authors/id/R/RJ/RJBS/perl-5.18.0.tar.bz2" rel="nofollow">http://cpan.metacpan.org/authors/id/R/RJ/RJBS/perl-5.18.0.ta...</a>
mpyne将近 12 年前
I understand why smartmatch is labeled experimental, but what's the "modern Perl" replacement for given/when? I only use it as a stupid switch statement but I don't want it breaking with Perl 5.22 either...
评论 #5731470 未加载
prollyignored将近 12 年前
I was a Perl lover once.<p>And now it seems I understand the haters.<p><i>Just don't use Perl</i>.<p>The language seems fine, productive, even sublime at first but you will encounter some horrible design features.<p>Just read the following,<p><a href="http://markmail.org/message/h2spyi5za4qheuft" rel="nofollow">http://markmail.org/message/h2spyi5za4qheuft</a><p>-- Perl's data structure serialization is leaky. Thought you made an int ? Whoa ... serialized as a string.<p><a href="http://blogs.perl.org/users/rurban/2013/02/no-indirect-considered-harmful.html#comment-370624" rel="nofollow">http://blogs.perl.org/users/rurban/2013/02/no-indirect-consi...</a><p>-- A language feature causing a burnout ? Well fuck me !<p>That's just a tip of the iceberg.<p>PHP, a fractal of bad design ?<p>Perl, a quantum bomb, waiting to tick off.<p>The Modern Perl movement is like saying "I'll close my eyes and crime ceases to exist."<p>No best practices will save you from broken language features.<p>The people who maintain Perl source code, are not a _<i>fan</i>_ of Modern Perl. They won't make "strict" the default or introduce signatures or better OOmodel.<p>The people who proclaim "Modern Perl" won't fork.<p>Even this release shows how clueless Perl maintainers are !<p>* They released a switch statement long long back<p>* And now they mark it even as "experimental" because of the leaky "my $_" scope.<p>Oh God ! I will never emotionally invest in another tool.<p>EDIT: Neutral language.
评论 #5729541 未加载
will1000将近 12 年前
Is python 3 the new perl 6?