Changeset 790 for trunk/api/perl/lib/Cache/Memcached.pm
- Timestamp:
- 07/23/08 19:18:17 (16 months ago)
- Files:
-
- 1 modified
-
trunk/api/perl/lib/Cache/Memcached.pm (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/api/perl/lib/Cache/Memcached.pm
r713 r790 784 784 my $sock = $self->sock_to_host($host); 785 785 my @res = $self->run_command($sock, "flush_all\r\n"); 786 $success = 0 unless ( @res);786 $success = 0 unless (scalar @res == 1 && (($res[0] || "") eq "OK\r\n")); 787 787 } 788 788
