Hi,
Thanks very much for your work on this! I've got a situation where I'd like to find modules which are only in a certain search path. I can add the dirs to search_dirs, but the issue is that I don't want all of @inc to be searched, because there may at times be some similarly named modules in @inc which I don't want to load. Would you be open to an option which would restrict the search to the supplied search_dirs rather than search_dirs + @inc? To be clear, I'm not asking to change the default behaviour of search_dirs, but to add this additional option.
My use case would be in the Stepford module: https://metacpan.org/source/DROLSKY/Stepford-0.002002/lib/Stepford/Planner.pm#L294
Thanks very much,
Olaf
From olaf@wundersolutions.com
Migrated from https://rt.cpan.org/Ticket/Display.html?id=96432
Hi,
Thanks very much for your work on this! I've got a situation where I'd like to find modules which are only in a certain search path. I can add the dirs to search_dirs, but the issue is that I don't want all of @inc to be searched, because there may at times be some similarly named modules in @inc which I don't want to load. Would you be open to an option which would restrict the search to the supplied search_dirs rather than search_dirs + @inc? To be clear, I'm not asking to change the default behaviour of search_dirs, but to add this additional option.
My use case would be in the Stepford module: https://metacpan.org/source/DROLSKY/Stepford-0.002002/lib/Stepford/Planner.pm#L294
Thanks very much,
Olaf
From olaf@wundersolutions.com
Migrated from https://rt.cpan.org/Ticket/Display.html?id=96432