perl5140delta 本地绑定变量

发布于 2024-11-08 17:54:03 字数 541 浏览 3 评论 0原文

perl5140delta 表示本地化绑定变量不再是 long绑。此更改已在 5.13.1 中实施,但在 5.13.2。这是否回到了 5.14(根据我的测试,它似乎不是),还是 5.14.0 的增量不正确?

我很关心,因为我相信这会破坏 File::chdir 我经常使用。

perl5140delta says that localized tied variables are no long tied. This change was implemented in 5.13.1 but reverted in 5.13.2. Is this back in 5.14 (from my testing it does not appear to be) or is the delta for 5.14.0 incorrect?

I care because I believe this would break File::chdir which I use regularly.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

清醇 2024-11-15 17:54:03

perldelta 表示本地绑定的“哈希和数组”不再绑定。标量不受影响。

你链接的文档 perl5132delta 说:

localised tied scalars are tied again.

The change in behaviour in 5.13.1 of localising tied scalar values has been reverted to the existing 5.12.0 and earlier behaviour (the change for arrays and hashes remains).

我不得不说的真正有用的事情是,你可以使用 CPAN Testers 服务检查你最喜欢的模块在许多版本的 Perl 上的状态。

查看 File::chdir 0.1004。它通过了不同平台上的所有 5.14 RC 测试。根据 CPANTS 的说法,您的身体状况良好。

当然,您可以下载并构建 5.14 的测试版本并亲自尝试一下,以确保万无一失。

The perldelta says that localized tied "hashes and arrays" are no longer tied. Scalars are unaffected.

The doc you linked, perl5132delta says:

localised tied scalars are tied again.

The change in behaviour in 5.13.1 of localising tied scalar values has been reverted to the existing 5.12.0 and earlier behaviour (the change for arrays and hashes remains).

The really useful thing I have to say is that you can check your favorite module's status on many versions of Perl using the CPAN Testers service.

Check out the report for File::chdir 0.1004. It passes all of the 5.14 RC tests on different platforms. According to CPANTS you are in good shape.

Of course you could download and build a test version of 5.14 and try it yourself, just to be sure.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文