summary refs log tree commit diff
diff options
context:
space:
mode:
authorfranck cuny <franck.cuny@rtgi.fr>2009-03-12 18:13:01 +0100
committerfranck cuny <franck.cuny@rtgi.fr>2009-03-12 18:13:01 +0100
commit3fce0fd57ad0e009fdea99b50d4bdc1d92c03362 (patch)
tree27759a540ae64fd66281f5190e79055f43b881b5
parenttests (diff)
downloadkiokudb-backend-memcachedb-3fce0fd57ad0e009fdea99b50d4bdc1d92c03362.tar.gz
backend methods are always called in list context and :UnicodeSafe is not necessary with Serialize::Delegate
-rw-r--r--lib/KiokuDB/Backend/Memcachedb.pm3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/KiokuDB/Backend/Memcachedb.pm b/lib/KiokuDB/Backend/Memcachedb.pm
index 4a336cd..5502d29 100644
--- a/lib/KiokuDB/Backend/Memcachedb.pm
+++ b/lib/KiokuDB/Backend/Memcachedb.pm
@@ -13,7 +13,6 @@ our $VERSION = "0.01";
 with qw(
     KiokuDB::Backend
     KiokuDB::Backend::Serialize::Delegate
-    KiokuDB::Backend::Role::UnicodeSafe
     KiokuDB::Backend::Role::TXN::Memory
     KiokuDB::Backend::Role::Concurrency::POSIX
 );
@@ -57,7 +56,7 @@ sub get {
     my $db = $self->db;
 
     my @objs = map { $self->deserialize( $db->get( $_ ) ) } @ids;
-    scalar @objs == 1 ? return shift @objs : @objs;
+    @jobs;
 }
 
 sub commit_entries {