gpt4 book ai didi

perl - 什么是 "Modern Perl"?

转载 作者:行者123 更新时间:2023-12-03 23:23:56 24 4
gpt4 key购买 nike

我听说过很多关于这个“现代 Perl”的事情。它是什么?

我听到的一件事是新的开放语法:

open my $FH, '<', $filename

并不是
open FH, "<$filename";

Modern Perl 中还有什么?

最佳答案

引用 source

Modern Perl programming, circa 2010, relies on the collected wisdom of the entire Perl ecosystem. It's time to write elegant, reliable, maintainable, well-tested, and predictable code.



另请参阅, the book .而这本书的引述

Modern Perl is a loose description of how experienced and effective Perl 5 programers work. They use language idioms. They take advantage of the CPAN. They're recognizably Perlish, and they show good taste and craftsmanship and a full understanding of Perl.

关于perl - 什么是 "Modern Perl"?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/3469659/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com