CC: | ANDK [...] cpan.org |
Subject: | Increase $VERSION of encoding.pm? |
On some of my perl systems upgrading Encode with CPAN.pm requires manual intervention:
...
allow_installing_module_downgrades: DANKOGAI/Encode-3.05.tar.gz (called for Encode) contains downgrading module(s) (e.g. 'encoding.pm' would downgrade installed '2.6_01' to '2.22'). Do you want to allow installing it? [yes]
...
Looking at Module::CoreList data, perl versions between 5.10.1 and 5.19.0 shipped an encoding.pm with a higher version than nowadays (2.6_01 == 2.601 > 2.22). This was unnoticed until recent CPAN.pm versions started to complain about possible module downgrades. Probably the best is to increase the version of encoding.pm to at least 2.61. (And while at this, it seems that $VERSION of encoding.pm is built using a RCS/CVS styled identifier, which is possibly obsolete nowadays)