it> Here's the thread where I have reported the issue to the perl community
    https://github.com/Perl/perl5/issues/22954#issuecomment-2622966302

I hope they don't persist in warning about this common use of the !!
idiom in their next stable release.

Re the notes about the Automake code, I don't claim it is a wonderful
example of coding style (I didn't write it), but making code that has
worked for decades suddenly cause warnings seems contrary to Perl's
usual careful compatibility practices.

    it> When is the next release of automake planned for?

There is no plan. But I guess this gratuitously-induced problem is bad
enough that we had better do something sooner rather than later.  Since
it's the Perl development release and not the stable release, it doesn't
seem totally urgent.  In any case, I expect to be tied up with other
things for a couple weeks (at best).

In the meantime, just inserting the extra parens per Collin's patch
seems like the simplest workaround:

-      return (!!$val == $neg) ? '##%' : '';
+      return ((!!$val) == $neg) ? '##%' : '';

    cf> I've attached a patch that fixes this 

I installed it, thanks.

    Maybe Automake shouldn't use:
        use warnings FATAL => 'all';

Agreed. I'm working on it. --thanks, karl.

Reply via email to