Subject: | Please define $VERSION in submodules |
Hello there,
I ran into a very unfortunate situation. I asked CPAN to install
Catalyst::View::XSLT::XML::LibXSLT (a submodule of the
Catalyst::View::XSLT distribution), and it installed version 0.04 by
Martin Grigorov
(http://search.cpan.org/CPAN/authors/id/M/MA/MARTING/Catalyst-View-XSLT-0.04.tar.gz),
which is old and incompatible with the your latest release.
This happened because you didn't specify a $VERSION for
Catalyst::Helper::View::XSLT and Catalyst::View::XSLT::XML::LibXSLT in
your distribution. So CPAN thinks 0.04 is the latest one. Asking CPAN to
install Catalyst::View::XSLT resulted in the correct version installed.
Please add a $VERSION to the other two modules too to avoid such (corner
case, I admit it) annoyance.
cheers,
Aldo