]> Sergey Matveev's repositories - public-inbox.git/blobdiff - lib/PublicInbox/IPC.pm
lei q: parallelize Maildir and mbox writing
[public-inbox.git] / lib / PublicInbox / IPC.pm
index 78cb8400d23758416c5859cdc468cef0f11144b0..8fec2e62a4373f4b81507403ba64245e623808b5 100644 (file)
@@ -397,4 +397,7 @@ sub DESTROY {
        ipc_worker_stop($self);
 }
 
+# Sereal doesn't have dclone
+sub deep_clone { thaw(freeze($_[-1])) }
+
 1;