Is it possible to use a module another way? For example, putting a reference to a subroutine that uses a module into @INC? I think the docs indicate that only the reference is added to %INC. But I have never tried adding a code reference to @INC.
Re^2: How can I prevent a module from being added to the %INC hash?
Replies are listed 'Best First'.