You can also put a coderref-hook in front of @INC to catch and redirect all do and require.
Not "all". It won't catch a require for an already-loaded module.
- tye
In reply to Re^2: Wrong + Right = Even Worse (@INC sub)
by tye
in thread Wrong + Right = Even Worse
by choroba
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |