use Data::Dumper instead of Data::Dump so all our dependencies are perl core modules
[perl-Redis.git] / lib / Redis / Hash.pm
index e5f8f70..c56a22f 100644 (file)
@@ -6,8 +6,6 @@ use warnings;
 use Tie::Hash;
 use base qw/Redis Tie::StdHash/;
 
-use Data::Dump qw/dump/;
-
 =head1 NAME
 
 Redis::Hash - tie perl hashes into Redis
@@ -16,6 +14,9 @@ Redis::Hash - tie perl hashes into Redis
 
   tie %name, 'Redis::Hash', 'prefix';
 
+  my $o = tie %foobar, 'Redis::Hash', 'foobar';
+  print $o->info->{used_memory}; # or any redis command
+
 =cut
 
 # mandatory methods