Make backwards compatible with Perl 5.10.1
Merge pull request #27 from hookbot/master

Make backwards compatible with Perl 5.10.1