Subject: | Allow dumping to strings |
Currently it seems that it's only possible to dump pickles to files. It would be nice if it was also possible to dump pickles to a string. Maybe the implementation is not too hard: just have another constructor which gets a scalar reference and is using something like 'open my $fh, ">", \$scalar;'. Starting from this point both code paths would be the same.
The same should probably also be possible for deserializing pickles.