/[Redis.pre-github]/lib/Redis/Hash.pm
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Diff of /lib/Redis/Hash.pm

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 58 by dpavlin, Sun Mar 22 20:04:17 2009 UTC revision 59 by dpavlin, Wed Jun 17 16:49:17 2009 UTC
# Line 16  Redis::Hash - tie perl hashes into Redis Line 16  Redis::Hash - tie perl hashes into Redis
16    
17    tie %name, 'Redis::Hash', 'prefix';    tie %name, 'Redis::Hash', 'prefix';
18    
19      my $o = tie %foobar, 'Redis::Hash', 'foobar';
20      print $o->info->{used_memory}; # or any redis command
21    
22  =cut  =cut
23    
24  # mandatory methods  # mandatory methods

Legend:
Removed from v.58  
changed lines
  Added in v.59

  ViewVC Help
Powered by ViewVC 1.1.26