princepawn has asked for the wisdom of the Perl Monks concerning the following question:

In his talk on Mutagenic Modules Robin Houston says that code refs in @INC can alter the meaning of use and require.

Can someone provide an example of this?

Replies are listed 'Best First'.
Re: How to use code refs in @INC
by Hofmator (Curate) on Aug 22, 2001 at 21:43 UTC

    Maybe this node from abigail can help you on, it enables automatic downloading of modules which are not installed on the local machine and for this it pushes a sub on @INC:
    Re: The Future - Managing Modules

    -- Hofmator