开发者

perl5140delta localized tied variables

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 incorrec开发者_开发知识库t?

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


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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜