Installing a hook in @INC would be considered "cheating", as the lib::lexical's job is to add specific entries to @INC as instructed and not install extraneous one not specified by user. But I'm still willing to consider using this technique.
As for source filter, I'd rather not go that route.
In reply to Re^2: A lexical lib pragma?
by perlancar
in thread A lexical lib pragma?
by perlancar
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |