I was usually using Storable with nstore, but now I have a module that has CODE and apparently Storable doesn\'t like tha
Storable
nstore
CODE
I believe Data::Dump::Streamer can serialize coderefs. Haven't used it myself though.