hobbestigrou/Dancer-Plugin-Locale-Wolowitz — pull request #2 by isync (2014-01-06 17:23:09+00:00)
Title: Update Wolowitz.pm

As it seems, not all user-agents populate the ->accept_language value. Robots? Probably. Haven#t poked around in logfiles...

Anyway, I've found ugly warnings about "unitialized value in substitution" when $lang is empty in my error logs.

So let's return empty from _detect_lang_from_browser for such cases. Which should let the module->L::W fall-back onto the default lang, right?