Hi Folks

Building a distro which uses Config::IniFiles V 2.39 I get this warning:

<===8><===>
Package 'Config::IniFiles' already declared with version '2.39',
ignoring subsequent declaration.
<===8><===>

The source code of Config::IniFiles has these on lines 1 .. 2:

<===8><===>
package Config::IniFiles;
$Config::IniFiles::VERSION = (qw($Revision: 2.39 $))[1];
<===8><===>

and these on lines 1908 .. 1914:

<===8><===>
package Config::IniFiles::_section;

use strict;
use Carp;
use vars qw( $VERSION );

$Config::IniFiles::_section::VERSION = 2.16;
<===8><===>

and these on lines 2133 .. 2136, still in
package Config::IniFiles::_section:

<===8><===>
# Eliminate annoying warnings
if ($^W)        {
        $Config::IniFiles::VERSION = $Config::IniFiles::VERSION;
}
<===8><===>

Not sure which stmt triggered the warning.

Worth worrying about?

Since the latter 2 are in a different package, I'd expect to not get
that warning.

-- 
Ron Savage
[EMAIL PROTECTED]
http://savage.net.au/index.html


Reply via email to