[Module::Build] yaml_dump on version objects
Status: Beta
Brought to you by:
kwilliams
|
From: John P. <jpe...@ro...> - 2006-02-15 19:11:28
|
Dear Perl YAML-heads: I've been trying to integrate version objects into Module::Build (now that I have a pure Perl release) and everything works except that YAML emits lots of warnings when trying to dump version objects: Use of uninitialized value in hash element at /usr/lib/perl5/site_perl/5.8.7/YAML.pm line 283. Use of uninitialized value in string eq at /usr/lib/perl5/site_perl/5.8.7/YAML.pm line 291. ...blah...blah...blah... --- !perl/YAML::Warning code: YAML_DUMP_WARN_BAD_NODE_TYPE msg: "Can't perform serialization for node type " ... I've tried to implement a yaml_dump() sub in the class, but I cannot figure out how to use it (the commented out Bless line just croaks). I've attached my example code (which requires version). TIA John -- John Peacock Director of Information Research and Technology Rowman & Littlefield Publishing Group 4501 Forbes Boulevard Suite H Lanham, MD 20706 301-459-3366 x.5010 fax 301-429-5748 |