Curious warning from Module::Build 0.2808

[email protected] (Ron Savage)
Newsgroups perl.module.build
Message-ID <[email protected]>
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.