文件名称:perldelta:5.10-5.20 的新 Perl 特性
文件大小:229KB
文件格式:ZIP
更新时间:2024-07-23 17:26:34
名称 perldelta - Perl 从 5.10 到 5.20 的变化 版本 1.0 (2014-04-26) 描述 这个演讲是关于自 5.8 以来 Perl 的重要变化。 这些是通常有用的东西,并且对现代 Perl 仍然有用。 运行时间 大约50分钟。 涵盖的主题 如果您升级到 5.10,您将获得: 说 状态 定义或 (//) 开关(给定/何时) Module::CoreList – 列出 Perl 在核心中的模块 如果您升级到 5.12,您将获得: yada-yada 运算符 (…) 数组上的 each()、keys() 和 values() 自模 如果您升级到 5.14,您将获得: 非破坏性替换 (s//r) 更可靠的异常抛出 HTTP::微小 JSON::PP 如果您升级到 5.16,您将获得: 引用当前运行的 sub (__SUB__) 如果您升级到
【文件预览】:
perldelta-master
----.gitignore(6B)
----images()
--------perl-5.8-announcement.png(140KB)
--------perl-5.8.8-announcement.png(90KB)
----5.20()
--------sub-signatures.pl(294B)
--------postderef.pl(671B)
--------hash-based-slices.pl(347B)
----5.12()
--------yada-yada-yada.pl(145B)
--------autodie.pl(274B)
--------each-array.pl(409B)
----README.pod(2KB)
----5.10()
--------defined-or.pl(252B)
--------feature.pl(219B)
--------say.pl(71B)
--------given-when.pl(849B)
--------recursive-regex.pl(361B)
--------named-capture.pl(365B)
--------state.pl(178B)
----questions()
--------no-feature.pl(221B)
--------our-var.pl(150B)
--------add.pl(233B)
----.gitmodules(77B)
----5.14()
--------non-destructive-substitution.pl(334B)
--------http-tiny.pl(120B)
--------eval-destroy.pl(210B)
--------map-substitution.pl(227B)
--------json-pp.pl(158B)
----index.html(14KB)
----5.16()
--------__sub__.pl(332B)
----5.18()
--------lexical-subs.pl(410B)
----remark()