Add Perl 5 implementation

Hello Emily,

I've written a Perl 5 implementation, which is similar to the Java and Ruby implementations. The tests require version 0.96 of the Test::More module, which is distributed with Perl 5.14 and better.

Kind regards,
Andreas