[Catalyst] Browser Detection?
Tobias Kremer
tobias.kremer at gmail.com
Sun Mar 6 11:00:53 GMT 2011
On 06.03.2011, at 11:56, John M. Dlugosz wrote:
> I'm supposing that there must be something in the request object that lets me know if I'm serving to particular browsers, in particular to whatever version of IE. Then, in some single place in the app, automatically digest that and stick a flag in the stash. Now, the TT files can test for that flag and skip advanced features or serve alternative content.
> Has this already been swept up into a nice module of some kind?
Let me CPAN this for you:
http://search.cpan.org/dist/Catalyst-TraitFor-Request-BrowserDetect/
--Toby
More information about the Catalyst
mailing list