Re: [Module::Build] Yikes! Module::Build 0.2804 produces META.ymlwith version objects

2006-07-21 Thread David Golden
Steffen Mueller wrote: John Peacock schrieb: David Golden wrote: (Though technically, it really ought to check that the ref equals "Module::Build::Version"). No, that would be wrong too. Never test a ref() against a specific object class, since it paints you into a corner with inheritance.

Re: [Module::Build] Yikes! Module::Build 0.2804 produces META.ymlwith version objects

2006-07-21 Thread Steffen Mueller
John Peacock schrieb: David Golden wrote: Dropping the "exists" or changing that to "ref $node->{version}" makes it all work just fine. I'll run a few tests in the AM, using both YAML and the fallback M::B::YAML to make sure there aren't any other surprises... (Though technically, it really