[dancer-users] Why do warnings cause Dancer to fail?

Warren Young warren at etr-usa.com
Mon May 5 16:13:57 BST 2014


On 5/2/2014 22:51, Joel Roth wrote:
>
> I agree that in general, it makes sense to give code more
> scrutiny during development.

I've found that most of the time, the "fatal warnings" you get when you 
follow this practice are just silly things.  Mostly, it's complaints 
about uninitialized variables used in strings:

     my $foo;
     ...then later...
     debug "Lorem ipsum $foo dolor sic amet"

Dancer stops the whole world, as though this has a real consequence, 
when it really does not.  You can start feeling that Dancer has some 
Chicken Little DNA in it.

However, occasionally it does catch a real problem, something you 
wouldn't want to appear in production.

So I tolerate it, and encourage you to, as well. :)


More information about the dancer-users mailing list