Parent Directory | Revision Log | 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 |
|
ViewVC Help | |
Powered by ViewVC 1.1.26 |