tagomoris/woothee — pull request #3 by clok (2012-11-13 21:14:16+00:00)
Title: Perl 5.8.8 Compatibility

Firstly, thank you for putting together a great UA Parser. I appreciate the work and use it regularly. Unfortunately, some of the servers I need to deploy the code on are using perl v5.8.8 and will not be updated. I looked through the code and I cannot find any dependacies on perl v5.10 in your codebase except for the smart match ```~~``` operator in the ```00_use.t``` unit test.

I removed the explicit ```use 5.010_000;``` statements from the various modules and replaced the smart operator with ```eq``` since the comparison will always be with strings. All unit test pass and the code functions as expected in my environment.

Could you please accept my pull request and submit the merged code to CPAN without the 5.10 dependency? This would be appreciated greatly.

Once again, thank you for the great work on Woothee. Keep it up!

- Derek