Paul Evans

Results 269 comments of Paul Evans

> I vote that we just make $^O readonly, and be done with the vagaries of allowing it to be overwritten. Quite. It's a weird quirk of behaviour that it...

In short: I have no idea. In slightly longer: The underlying problem still exists, and would still get in the way of attempting to create an optional-chaining function or method...

Mmm possibly; though that raises the issue that it claims to be a `"state" subroutine` in the first place. It ought not be really - I just found I had...

Further observations: Perl does not warn when a lexical subroutine overshadows a package one. For example: ``` $ ./perl -wce 'sub true() {} my sub true() {}' -e syntax OK...

An excellent idea. Over the years I have thought up a few things I thought ought to be `strict` flags, and always been stuck for not being able to add...

This idea also recently discussed on perl5-porters@: https://www.nntp.perl.org/group/perl.perl5.porters/2021/11/msg261932.html

Tests are now found to be fine. This is ready for revew and hopefully merge.

I can possibly find time to look at these some evening of my vacation but if not I'll be happy to review anyone else's PR if they get there first...

At current blead: ``` $ ./perl t/harness lib/B/Deparse.t ../lib/B/Deparse.t .. ok $ ./perl t/harness dist/Devel-SelfStubber/t/Devel-SelfStubber.t ../dist/Devel-SelfStubber/t/Devel-SelfStubber.t .. ok $ ./perl t/harness dist/SelfLoader/t/0*.t ../dist/SelfLoader/t/01SelfLoader.t ........ ok ../dist/SelfLoader/t/02SelfLoader-buggy.t .. ok ../dist/SelfLoader/t/03taint.t ................

Closing this as it's a duplicate of #21558 but see over there anyway.