Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Re: Config::General -IncludeDirectories usage

by haukex (Archbishop)
on Sep 08, 2021 at 09:34 UTC ( [id://11136565]=note: print w/replies, xml ) Need Help??


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

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://11136565]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others wandering the Monastery: (5)
As of 2024-03-29 06:12 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found