wertert has asked for the wisdom of the Perl Monks concerning the following question:

Hi all I have a large data structure that I want to store to disk. I was planning to use the excellent module, however on a closer look it doesn't work with references to CODE.
i.e @database=( { "group" =>"1", "pattern" =>'lizard', "function" =>sub { print "hello\n"; }, }, );
From the docs.....'You can't store GLOB, CODE, FORMLINE, etc... If you can define semantics for those operations, feel free to enhance Storable so that it can deal with them.' Its that last bit that's caught my interest. I looks like I can define semantics so that Storable can cope. Does anyone know what this means ? Can any one point me to an example of a modification like this. Thanks in advance jeff