in reply to Saving/restoring coderefs.

The YAML::Syck and YAML modules can store coderefs, with some configuration; however, you may wish to consider the implications of serializing code -- it will be eval'd on the way back in. Anyone who can edit the file in production (even if they can't edit your application source) will be able to execute arbitrary code by doing so.

I'm not saying necessarily that you don't want this behavior, but I am saying that you should be really sure that's what you want.

<radiant.matrix>
Ramblings and references
The Code that can be seen is not the true Code
I haven't found a problem yet that can't be solved by a well-placed trebuchet