TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Perl 5.18.0 is now available

128 pointsby ykoabout 12 years ago

10 comments

acqqabout 12 years ago
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-Sheeabout 12 years ago
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 未加载
jerfabout 12 years ago
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 未加载
btiplingabout 12 years ago
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 未加载
greymanabout 12 years ago
Just curious: Is Larry Wall still involved in Perl development? Haven't heard from him for a long time...
评论 #5730294 未加载
评论 #5730249 未加载
alberthabout 12 years ago
Only 82 more minor releases until Perl 6 will be available.
评论 #5729731 未加载
评论 #5729428 未加载
creaktiveabout 12 years ago
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>
mpyneabout 12 years ago
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 未加载
prollyignoredabout 12 years ago
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 未加载
will1000about 12 years ago
Is python 3 the new perl 6?