W
Wayne Happ
I have a question about finding a module at rutime.
Here's what I would like to do.
push(@INC, @notknowntillrunning);
use lib 'notknowntill running';
use foo;
My problem is I do not know the where the Module will be till the script
runs. Perl won't compile the script because at time of compilation the
enviroment is not known.
This is a corporate computing environment and I can't change the value of
@INC before running my script. (It's a policy thing.)
Any ideas on how to get the same effect?
Wayne
Here's what I would like to do.
push(@INC, @notknowntillrunning);
use lib 'notknowntill running';
use foo;
My problem is I do not know the where the Module will be till the script
runs. Perl won't compile the script because at time of compilation the
enviroment is not known.
This is a corporate computing environment and I can't change the value of
@INC before running my script. (It's a policy thing.)
Any ideas on how to get the same effect?
Wayne