Subject: | Package 'Config::IniFiles' already declared with version '2.39' |
When using Module::Build V 0.280801 and running:
perl Build.PL
I get:
Checking prerequisites...
Package 'Config::IniFiles' already declared with version '2.39',
ignoring subsequent declaration.
Looks good
where the 2 central lines are caused by line 2 in IniFiles.pm:
$Config::IniFiles::VERSION = (qw($Revision: 2.39 $))[1];
followed by line 2135:
$Config::IniFiles::VERSION = $Config::IniFiles::VERSION;
The solution is to change line 2 to be:
$Config::IniFiles::VERSION = $Config::IniFiles::VERSION = (qw($Revision:
2.39 $))[1];
and to delete lines 2133 .. 2137.