K
Koos Pol
Hello all,
Is there a common way to construe the machine/architecture
dependent subdirectries below a lib dir and have them added to
@INC?
Background:
I want to keep a local DBI and DBD with my application. When
building the Msql-Mysql-modules it says:
"Using DBI 1.32 installed
in /usr/lib/perl5/site_perl/5.8.0/i586-linux-thread-multi/auto/DBI"
This message in spewed
by /usr/lib/perl5/site_perl/5.8.0/i586-linux-thread-multi/DBI/DBD.pm
Now to find modules DBD simply greps @INC (which only includes my
local lib dir /home/koos/my_perl_app/lib (set by PERL5LIB) and
not the machine dependent subdirs below it. Therefor it doesn't
see my local DBI installed in the machine dependent subdirs
below /home/koos/my_perl_app/lib
Is there any way to construe and add these machine dependent
subdirs to @INC without hacking the DBD code?
Thanks,
Koos
Is there a common way to construe the machine/architecture
dependent subdirectries below a lib dir and have them added to
@INC?
Background:
I want to keep a local DBI and DBD with my application. When
building the Msql-Mysql-modules it says:
"Using DBI 1.32 installed
in /usr/lib/perl5/site_perl/5.8.0/i586-linux-thread-multi/auto/DBI"
This message in spewed
by /usr/lib/perl5/site_perl/5.8.0/i586-linux-thread-multi/DBI/DBD.pm
Now to find modules DBD simply greps @INC (which only includes my
local lib dir /home/koos/my_perl_app/lib (set by PERL5LIB) and
not the machine dependent subdirs below it. Therefor it doesn't
see my local DBI installed in the machine dependent subdirs
below /home/koos/my_perl_app/lib
Is there any way to construe and add these machine dependent
subdirs to @INC without hacking the DBD code?
Thanks,
Koos