/[Redis.pre-github]/lib/Redis.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.pm

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

revision 12 by dpavlin, Sat Mar 21 23:23:37 2009 UTC revision 13 by dpavlin, Sat Mar 21 23:26:46 2009 UTC
# Line 209  sub keys { Line 209  sub keys {
209          return split(/\s/, _sock_result_bulk());          return split(/\s/, _sock_result_bulk());
210  }  }
211    
212    =head2 randomkey
213    
214      my $key = $r->randomkey;
215    
216    =cut
217    
218    sub randomkey {
219            my ( $self, $glob ) = @_;
220            print $sock "RANDOMKEY\r\n";
221            _sock_result();
222    }
223    
224  =head1 AUTHOR  =head1 AUTHOR
225    
226  Dobrica Pavlinusic, C<< <dpavlin at rot13.org> >>  Dobrica Pavlinusic, C<< <dpavlin at rot13.org> >>

Legend:
Removed from v.12  
changed lines
  Added in v.13

  ViewVC Help
Powered by ViewVC 1.1.26