miyagawa/Hash-MultiValue — pull request #8 by ap (2012-02-13 16:03:41+00:00)
Title: Add Storable serialization support

This covers what @wchristian requested in #4.

I’ve done the tests a little differently, with no real IPC, because I don’t know how to do that reliably portably. I changed the literal `perl` call in his backticks to a `$^X` and switched to using a proper temporary file, but I don’t know to be sure to pass down the right `@INC` to the invoked `perl` if that has been rigged for the tests during build time. I thought of just forking and pushing the frozen object to the child process through a pipe but hell if I know how to make that portable onto Windows.

In the end I decided that if the test fails as expected before patching H::MV and passes for the right reason afterwards, even if it doesn’t involve real IPC, that’s a good enough test for me.

I hope it is.