/[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 41 by dpavlin, Sun Mar 22 18:42:21 2009 UTC revision 43 by dpavlin, Sun Mar 22 20:04:17 2009 UTC
# Line 258  sub type { Line 258  sub type {
258    
259  sub keys {  sub keys {
260          my ( $self, $glob ) = @_;          my ( $self, $glob ) = @_;
261          return split(/\s/, $self->_sock_result_bulk( 'KEYS', $glob ));          my $keys = $self->_sock_result_bulk( 'KEYS', $glob );
262            return split(/\s/, $keys) if $keys;
263            return () if wantarray;
264  }  }
265    
266  =head2 randomkey  =head2 randomkey

Legend:
Removed from v.41  
changed lines
  Added in v.43

  ViewVC Help
Powered by ViewVC 1.1.26