Subject: | Some tests fail with "Can't store CODE items" error |
The complete error message is:
Can't store CODE items at Bio/Root/Root.pm line 223.
A sample test report can be seen in http://www.cpantesters.org/cpan/report/88f32df6-6c7c-11e3-bf3e-b51f7bc94557
I assume the error happens if Storable is chosen as serializer. Storable cannot serialize CODE references by default. To do so, one has explicitely set the $Storable::Deparse variable (and a deserializer has to set the $Storable::Eval variable).
Regards,
Slaven