On Sun, Mar 04, 2012 at 08:35:15AM +0100, "Andreas J. Koenig" <andreas.koenig.7os6VVqR@franz.ak.mind.de> wrote:
> If you have not seen it, please see the ticket, especially the first
> answer from Father Chrisostomos with a patch at
> https://rt.perl.org/rt3/Public/Bug/Display.html?id=111500
>
> I'm interested in hearing what you think about it.
Well, thanks a lot. Pity that the code was designed to actually do the right
thing, and I feel perl 5.15 is the culprit here by considerably changing how
the warning system works.
I would like to understand it though: the current code turns off all warnings
bits except the ones the user asked for.
The new code would leave warning bits on.
Use common::sense is supposed to set warnigns to a predefined set, not to
disable some and enable others.
So it seems to me that the warning bits are no longer that, warning bits,
but either non-warning bits or are being abused for something else, which
would be bad design.
I don't know what 5.15 actually does, but if turning off warning bits
causes errornous warnings, then I would expect this to be treated as a bug
in perl.
Now, either I don't understand whats going on (then I would like to
learn), or maybe the new style means this is what's going to be done in
5.15, which means I'll simply have to make it work somehow - common::sense
uses undocumented bits, so perl can change them at will.
However, if I am right and 5.15 abuses the warning bits for something
else, I would ask the p5p'ers to reconsider their design to something more
sane.
--
The choice of a Deliantra, the free code+content MORPG
-----==- _GNU_ http://www.deliantra.net
----==-- _ generation
---==---(_)__ __ ____ __ Marc Lehmann
--==---/ / _ \/ // /\ \/ / schmorp@schmorp.de
-=====/_/_//_/\_,_/ /_/\_\
Thread Previous
|
Thread Next