|laziness, impatience, and hubris|
enabling XML::Rabbit serializationby glasswalk3r (Friar)
|on Dec 19, 2012 at 18:23 UTC||Need Help??|
glasswalk3r has asked for the
wisdom of the Perl Monks concerning the following question:
Hello there monks,
I started using XML::Rabbit a couples of days ago and I quite content with it for reading XML configuration files.
I would like to add some optimization to the program by serializing the objects to the disk and avoid some memory consumption by recovering the values over and over from XML.
Considering that XML::Rabbit is Moose based, what do you recommend to use for objects serialization? I thought about cloning the XML::Rabbit objects, saving the values as attributes and keeping the references as necessary, but this looks like a lot of trouble to do it.
Alceu Rodrigues de Freitas Junior
"You have enemies? Good. That means you've stood up for something, sometime in your life." - Sir Winston Churchill