support Perl 5.8
Merge pull request #1 from bayashi/support_5_8

support Perl 5.8