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 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.  You really have to
do isa() if you want to test that way...

John

-- 
John Peacock
Director of Information Research and Technology
Rowman & Littlefield Publishing Group
4501 Forbes Blvd
Suite H
Lanham, MD 20706
301-459-3366 x.5010
fax 301-429-5747

Reply via email to