Here's a patch against DateTime 0.34, which causes problems serializing DateTime:Locale object.
For whatever reason I don't know, STORABLE_thaw receives $locale
object as a plain blessed hash, like
bless( {}, 'DateTime::Locale::de' );
and fails with subsequent calls to the locale object, for example when
you double serialize the object again. It causes make test failures in
DateTime::Util::Astro for instance.
I added a hack to grab class name (de) and calls
DateTime::Locale->load again to get the full object back.
--
Tatsuhiko Miyagawa
DateTime-0.34-locale-storable.patch
Description: Binary data
