oalders/http-browserdetect — pull request #40 by bluefeet (2012-11-30 19:00:18+00:00)
Title: Explicitly decalre "no warnings".

At $work we do use the -w switch to Perl a lot. While I think this is a bad practice, it is not something I can change quickly.

Due to the -w switch we are getting lots of warnings in our logs from a particular User-Agent:

```
Mozilla/DnsHealthCheckBot/1.0
```

Which is producing this warning:

```
Argument "/1" isn't numeric in numeric eq (==) at HTTP/BrowserDetect.pm line 391.
```

You can reproduce this using the current released version of HTTP::BrowserDetect like this:

```perl
perl -we 'use HTTP::BrowserDetect; HTTP::BrowserDetect->new("Mozilla/DnsHealthCheckBot/1.0")'
```

The chnage in this pull request is to add a 'no warnings' line to HTTP::BrowserDetect for those people that are blindly enabling warnings everywhere with the -w flag.

Thanks!