From: Bruce W. <br...@mi...> - 2004-04-24 22:23:47
|
> Ok so "annoying" is probably a bit over dramatic but whenever MH starts or > is reloaded the logs contains in part: > > <QUOTE> > Reading code_dirs: /home/mh/code ./../code/common > Duplicate file. > - Used: /home/mh/code/internet_weather.pl > - Skipped: ./../code/common/internet_weather.pl > > Duplicate file. > - Used: /home/mh/code/weather_rrd_update.pl > - Skipped: ./../code/common/weather_rrd_update.pl > > Duplicate file. > - Used: /home/mh/code/internet_weather.pl > - Skipped: ./../code/common/internet_weather.pl > > Duplicate file. > - Used: /home/mh/code/weather_rrd_update.pl > - Skipped: ./../code/common/weather_rrd_update.pl > </QUOTE> > > I'm running customised versions of internet_weather.pl and > weather_rrd_update.pl so the output is not unexpected but the > fact that the > same pair of messages appear twice is. Is this normal? I'm running 2.88. Yep, that was normal. Since the file member showed up twice, we got the warning twice. I added the first 2 lines here, around line 3723, so now we only get the warning once: # Uniq-ify the list my %list =map {$_, 1} @files_read; @files_read = sort keys %list; my $count = @files_read; Note if you want to avoid the warning entirely, simply disable those code files using the Common Code Activation menu, so you only get your local copies. Bruce |