in reply to Re^3: dynamically expand @INC beyond BEGIN
in thread dynamically expand @INC beyond BEGIN

thanks, if $lib/$module.pm had all the code I needed then require would work. Instead, it contains about 30 use statements for other modules where the all code is stored, hence the reason why @INC needs $module loaded.