Just' To Say ..
written on Tuesday,
December 6, 2005 at 22:22
Introducing Phaylon::Class::ClonerI had problems cloning a data structure that contained code references. So I stuffed together a simple module that walks hash and array references of a data structure and uses Storable's "dclone." This module solves this problem. You can specify it's default behaviour as well as what it does when it sees a specific reference type (code references, objects, you name it). You can find it on CPAN under the name Phaylon::Class::Cloner. |