Re: [Module::Build] Re: [Yaml-core] yaml_dump on version objects
Status: Beta
Brought to you by:
kwilliams
|
From: Yitzchak Scott-T. <sth...@ef...> - 2006-02-17 09:47:57
|
On Thu, Feb 16, 2006 at 12:46:34PM -0500, John Peacock wrote: > Ken Williams wrote: > > > >On Feb 15, 2006, at 4:06 PM, John Peacock wrote: > >>Never mind. Upgrading YAML to current (0.58) works much better and > >>setting $YAML::Stringify does exactly what we want. > > > >Is there no way to support YAML 0.35? That's our current YAML > >prerequisite. > > Nope. Once you throw an object into the mix, YAML gets very confused. > Apply my patch and try it with 0.35 and you will see: > > 1) a screenful of warnings thrown during the META.yml creation; > 2) worse yet, the META.yml is malformed (it doesn't include either a > dump of the version object as hash nor the correct stringified > representation). > > I can, with some more difficulty, patch M::B to force a stringification > of version objects prior to inserting them into the $node, but it isn't > nearly as clean. > > Is there some overriding reason you are avoiding upgrading the YAML > prereq to 0.50 (which in itself isn't even the current rev)? The newer YAMLs require 5.6.1 (plus a lot of other dependency-bloat). |