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

Re: patches wanted: default warnings/strict

Thread Previous | Thread Next
Ævar Arnfjörð Bjarmason
October 21, 2015 13:18
Re: patches wanted: default warnings/strict
Message ID:
On Sun, Oct 18, 2015 at 6:20 PM, Ævar Arnfjörð Bjarmason
<> wrote:
> On Fri, Oct 16, 2015 at 4:27 AM, Ricardo Signes
> <> wrote:
>> Hey, remember the big thread about making "use warnings" mean "use warnings
>> 'default'" and that?  No?  It was here:
>> 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/

    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 Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About