in reply to Re: Mitigating ". in @INC" for optional dependencies
in thread Mitigating ". in @INC" for optional dependencies
Apologies to @Corion... the code, as originally posted, could be seen as pursuing the opposite of my actual goal. The code should have read ...
... it has now been corrected.no lib q{.} ...
I'm trying to mitigate against the fact that '.' is included by default in @INC, and therefore a module could be "snuck in" if the optional dependency is not installed on the system.
I just want to avoid looking in '.' when loading the optional module.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Mitigating ". in @INC" for optional dependencies
by Corion (Patriarch) on Sep 11, 2016 at 05:57 UTC |