in reply to How can you make 'use lib "foo"; dynamic?

Hi. You can
push @INC , $yourPath ;
At run time and then dynamically load your class (or module) with
eval "require $yourModule;" ; if( $@ ){ die "Cannot load $yourModule : $@" ; }
So at runtime, the use can specify where to find modules and which one to load. Hope it helps. Regards. J.
Nice photos of naked perl sources here !