Permalink
Browse files

Prettifying this a bit.

  • Loading branch information...
1 parent c29241c commit 2a8e70b0f73dc9148e2913ab18cd55795b9004f1 Alex Sergeyev committed Feb 21, 2012
Showing with 1 addition and 2 deletions.
  1. +1 −2 lib/Digest/MurmurHash.pm
View
3 lib/Digest/MurmurHash.pm
@@ -3,6 +3,7 @@ package Digest::MurmurHash;
use strict;
use warnings;
use base 'Exporter';
+use base 'Digest::base';
our $VERSION = '0.12';
our @EXPORT_OK = ('murmur_hash', 'murmurhash1', 'murmurhash3_x86_32', 'murmurhash3_x86_128', 'murmurhash3_x64_128');
@@ -11,8 +12,6 @@ require XSLoader;
XSLoader::load('Digest::MurmurHash', $VERSION);
-use base 'Digest::base';
-
sub new { return bless [], $_[0] };
sub clone { my $self = shift; return bless [ $self->[0] ], ref($self) };
sub add { my $self = shift; $self->[0] .= join '', @_ };

0 comments on commit 2a8e70b

Please sign in to comment.