Your is a really interesting solution.
I tested both
BEGIN { unshift @INC, sub { warn "loading $_ 1\n"; return } }
use lib sub {warn "loading $_ 1\n"; return };
and it works,
but is not clear to me why sub is executed each time
perl scan directories for find an use module
can you explain me more aboute this feature ?
Regards, Enzo