|Subject:||No version in Types::Serialiser::Error|
It seems that the missing version in Types::Serialiser::Error may be problematic in some situations. E.g. when doing an upgrade with CPAN.pm or install an autobundle file, then Types-Serialiser-1.0.tar.gz would be installed again, even if the newest version is already installed. CPAN.pm sees the following: cpan> m Types::Serialiser::Error Module id = Types::Serialiser::Error CPAN_USERID MLEHMANN (Marc A. Lehmann <email@example.com>) CPAN_VERSION 1.0 CPAN_FILE M/ML/MLEHMANN/Types-Serialiser-1.0.tar.gz UPLOAD_DATE 2013-11-30 MANPAGE Types::Serialiser::Error - dummy module for Types::Serialiser INST_FILE /opt/perl-5.26.0/lib/site_perl/5.26.0/Types/Serialiser/Error.pm INST_VERSION undef So it thinks there's a newer version 1.0 available. Why it thinks so is not clear to me --- maybe in the absence of a module version it uses the distribution version. Probably the easiest is to apply a $VERSION in Types::Serialiser::Error.