Subject: | version not parsable by cpanplus |
running "cpanp o" with your module installed gives:
[...]
39 Unparsable 0.09 XML::Parser::Style::EasyTree MONS
this is because your version is defined as:
$VERSION = $XML::Parser::Style::ETree::VERSION;
and cpanplus only evaluates the line on which $VERSION appears, not the
whole file.
to fix it, you need to do on one single line:
require XML::Parser::Style::ETree; $VERSION =
$XML::Parser::Style::ETree::VERSION;
this way, cpanplus will find the version of your module, and will be
able to say when it needs to be upgraded.