See lib and maybe perlvar on @INC.
Also, you could simply load your module explicitly first. Perl will load one module at most once.
You don't need to patch Perl modules, you can even give them a different filename. To prevent Perl from loading the other file, see perlvar on %INC then.
In reply to Re: Including and Finding Custom Modules
by Corion
in thread Including and Finding Custom Modules
by Cmdr Colstel
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |