in reply to Config::General -IncludeDirectories usage

I believe you've discovered a bug in Config::General. On line 519, it says:

my @files = sort grep { -f catfile($configfile, $_) } catfile($configf +ile, $_), readdir INCLUDEDIR;

And the extra catfile($configfile, $_), doesn't make sense to me. I think the line should be:

my @files = sort grep { -f catfile($configfile, $_) } readdir INCLUDED +IR;

You should probably file a bug report, but note the module hasn't had a release in about 5 years, so you'll have to decide whether you might want to patch the module yourself.

Update: Thanks for reporting it as RT#139261