Curious warning from Module::Build 0.2808

2008-05-15 Thread Ron Savage
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

Re: Curious warning from Module::Build 0.2808

2008-05-15 Thread Eric Wilhelm
# from Ron Savage # on Thursday 15 May 2008: ><===8><===> ># Eliminate annoying warnings >if ($^W){ >$Config::IniFiles::VERSION = $Config::IniFiles::VERSION; >} ><===8><===> > >Not sure which stmt triggered the warning. Probably this last one. >Worth worrying about? > >Since th

Re: Curious warning from Module::Build 0.2808

2008-05-15 Thread Yitzchak Scott-Thoennes
On Thu, May 15, 2008 6:48 pm, Eric Wilhelm wrote: > # from Ron Savage > # on Thursday 15 May 2008: > > >> # Eliminate annoying warnings if ($^W) { >> $Config::IniFiles::VERSION = >> $Config::IniFiles::VERSION; >> } > > Do you need the 'only once' workaround? Perhaps you want to just: > > package

Re: Curious warning from Module::Build 0.2808

2008-05-18 Thread Ken Williams
On Thu, May 15, 2008 at 7:57 PM, Ron Savage <[EMAIL PROTECTED]> wrote: > > Not sure which stmt triggered the warning. I'll add the line number in the .pm file to the warning output for the next release. -Ken