Guillem Jover, on Mon 07 Nov 2016 02:59:02 +0100, wrote: > > while (defined(my $file = $dh->read)) { > > + next if (-d $file); > > $count += $self->load("$dir/$file"); > > } > > > > Thanks for the patch! (although it seems wrong, as it's missing the > $dir name here :)
D'oh! It worked only by luck since "." and ".." are always in the current directory too :) Thanks, Samuel