Ian Michell wrote:
Hi,
I have a slight problem. I want to know it is possible to use a variable
to set part of the @INC path.
Although that's a little bit off topic and much more a perl question.
Yes. You can.
testlib/MYTEST.pm
8<
print "LOADED\n";
1;
-
Hi,
I have a slight problem. I want to know it is possible to use a variable
to set part of the @INC path.
i.e. current code that works: use lib qw ( /usr/local/www/cvg-bin/ );
Is there a way to make it use an environment variable
Rgds
Ian M
--
Report problems: http://perl.apache.org/bugs/