develooper Front page | perl.perl5.porters | Postings from October 2015

Re: patches wanted: default warnings/strict

Thread Previous | Thread Next
From:
Ævar Arnfjörð Bjarmason
Date:
October 21, 2015 13:18
Subject:
Re: patches wanted: default warnings/strict
Message ID:
CACBZZX4dHsJ2-cc6J=UN2q2Afi_oAOfYjw1AWtJ_+088+9ezFQ@mail.gmail.com
On Sun, Oct 18, 2015 at 6:20 PM, Ævar Arnfjörð Bjarmason
<avarab@gmail.com> wrote:
> On Fri, Oct 16, 2015 at 4:27 AM, Ricardo Signes
> <perl.p5p@rjbs.manxome.org> wrote:
>> Hey, remember the big thread about making "use warnings" mean "use warnings
>> 'default'" and that?  No?  It was here:
>>
>>   http://nntp.perl.org/group/perl.perl5.porters/228400
>>
>> I'd been hoping to get to this myself, but it hasn't happened.  I'd like to get
>> this ready for smoking so we can hopefully make this change for 5.24.
>>
>> I think it should mostly be "work" and not "deep, hard thinking."  I could be
>> wrong.
>>
>> Who's up for it?
>
> I can do it.

Turns out, no I can't :)

I pushed avar/warnings-outside-of-all-2 which is a revert of
v5.21.8-54-g3c3f8cd. I was going to change around the categories on
top of that, i.e. do this in regen/warnings.pl:

    my $tree = {
    -'everything' => [ 5.023, {
    -        'all' => [ 5.008, {
    +'all' => [ 5.008, {
    +        'placeholder' => [ 5.023, {

And then just patch the "import" method to turn on "placeholder" when
given no default instead of "all". This should work in theory.

But I can't get it to work, and I don't have time to debug it these
days, about to spawn a subprocess. Sorry! If someone else is
interested and willing to pick up avar/warnings-outside-of-all-2 that
would be cool.

Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About