seems like you need a code hook in @INC. See 'perldoc perlvar' or 'perldoc -f require'
another idea is somehow to add a CHECK block to list @INC and exit and generate this way a shell alias for 'perl -M mod1 -M mod2 .... -M modn -M my_last'. seems that chromatic's module Devel::TraceUse could be used. I remember also a module that could preload all the used modules to accelerate the startup (I think Perl hacks mentions it, but I don't have my copy here...)
cheers --stephanIn reply to Re: Percedence of -I, use Lib, @INC
by sgt
in thread Percedence of -I, use Lib, @INC
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |