Logged In: YES

The pb is in the readdir function of perl.
The code not working is around

foreach (grep /^$PROG(\d\d)(\d\d\d\d)$FileSuffix.txt(|.gz)$/,
sort readdir DIR) {

it seems that the perl readdir function does not see all files.
The problem is there is no solution has been found yet (upgrade
of perl, os ?) since the bug does not seems to be in awstats.