[tpm] why wouldn't violating "use warnings" always be fatal?

Olaf Alders olaf.alders at gmail.com
Fri Aug 22 13:44:01 PDT 2014


On Aug 22, 2014, at 4:41 PM, Stuart Watt <stuart at morungos.com> wrote:

> I’d check into this too: http://www.modernperlbooks.com/mt/2014/01/fatal-warnings-are-a-ticking-time-bomb.html
> 
> Basically, if some module somewhere in a dependency uses Moo, you can get this effect. A change somewhere quite remote can have nasty consequences. And i quote:
> 
>> In other words, any CPAN module which uses Moo is, by default, vulnerable to a change in any of its dependencies which may legitimately produce new warnings. By "vulnerable" I mean "your program may start crashing in library code you didn't write and do not maintain and, by the way, may be in a dependency several levels deep that you didn't even know uses Moo."
> 
> The last bit is actually quite scary. 

I’ve been bitten by this.  It isn’t fun to debug!

Olaf


More information about the toronto-pm mailing list